X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=Makefile.am;h=7d0b937cd4b28f889a3fac9846bf9a4a460b1b34;hb=b62693239eb893af0c242295d37f28ba84cd7c10;hp=a3fe40d45ed46ed106862fb149d847787861f3b0;hpb=b31a749950a3d1cb9ac0af7ae2ebebe5f81aa753;p=xboard.git diff --git a/Makefile.am b/Makefile.am index a3fe40d..7d0b937 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,8 @@ xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@ EXTRA_DIST = pixmaps bitmaps winboard sounds filebrowser/README \ xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop \ - COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README + COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README \ + xboard.conf.in SHORTLOG DIFFSTAT history.c DISTCLEANFILES = stamp-h @@ -48,7 +49,7 @@ man6_MANS = xboard.man ### config file -dist_sysconf_DATA = xboard.conf +sysconf_DATA = xboard.conf ### icon files @@ -76,12 +77,13 @@ dist_bitmap_DATA = pixmaps/wood_d.xpm pixmaps/wood_l.xpm edit = sed -e 's|@bitmapdir[@]|$(bitmapdir)|g' xboard.conf: Makefile $(srcdir)/xboard.conf.in - rm -f $@ $@.tmp - srcdir='' - test -f ./$@.in || srcdir=$(srcdir)/; - $(edit) $${srcdir}$@.in >$@.tmp - mv $@.tmp $@ + @echo ' 'GEN ' ' $@; + @rm -f $@ $@.tmp + @$(edit) $(srcdir)/$@.in >$@.tmp + @mv $@.tmp $@ +distclean-local: + -rm -f xboard.conf ### the man page depends on several files, so we add a special rule