From: Arun Persaud Date: Mon, 18 Jan 2010 20:15:06 +0000 (-0800) Subject: fixed Makefile.am to handle config file correctly X-Git-Tag: gtk-20100118~2 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=97ebb8d677a16c9373fdcbaebd4c5c3ce7e7ebeb fixed Makefile.am to handle config file correctly --- diff --git a/Makefile.am b/Makefile.am index 7c6ddb3..0eea321 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,7 @@ xboard_SOURCES = backend.c backend.h backendz.h \ xboard_LDADD = -lm @XAW_LIBS@ @GTK_LIBS@ EXTRA_DIST = pixmaps bitmaps winboard sounds \ - xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man \ + xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.conf \ COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm readme_HGM.txt zippy.README DISTCLEANFILES = stamp-h @@ -45,8 +45,7 @@ info_TEXINFOS = xboard.texi xboard_TEXINFOS = copyright.texi man6_MANS = xboard.man -install-data-local: $(srcdir)/xboard.conf - $(INSTALL_DATA) $(srcdir)/xboard.conf $(DESTDIR)/etc/xboard +sysconf_DATA=xboard.conf xboard.man: xboard.texi copyright.texi gpl.texinfo version.texi $(srcdir)/texi2man $(srcdir)/xboard.texi > xboard.man || (rm -f xboard.man ; false)