X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=Makefile.am;h=612522ae3495220f0c1ece0d4dca3258c8d9b92f;hp=4dce71f50284afada5f79ee49035ae6e1e4f123f;hb=6a96f22d3c3e11f63ee17687a9de7f4c6ba854c5;hpb=3b127365dbbc640bc1a0813b24baa925b99f5079;ds=sidebyside diff --git a/Makefile.am b/Makefile.am index 4dce71f..612522a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,21 +1,29 @@ # $Id$ +include $(top_srcdir)/Makefile-head.am + AUTOMAKE_OPTIONS = dist-tarZ +SUBDIRS = macros intl . po +## to automatically rebuild aclocal.m4 if any of the macros in +## `macros/' change +@MAINT@include macros/macros.dep +@MAINT@macros/macros.dep: macros/Makefile.am +@MAINT@ cd macros && $(MAKE) macros.dep -EXTRA_DIST = autogen.sh mdsms.1.c mdsms.1.in ChangeLog need-declaration.m4 +EXTRA_DIST += autogen.pl mdsms.1.c mdsms.1.in ChangeLog ABOUT-NLS mdsms.spec.in INSTALL mkinstalldirs -CLEANFILES = ChangeLog mdsms.1 mdsms.1.in2 +CLEANFILES += mdsms.1 mdsms.1.in2 -bin_PROGRAMS = mdsms +bin_PROGRAMS += mdsms man_MANS = mdsms.1 noinst_PROGRAMS = manfmt noinst_SCRIPTS = mdsms.1 mdsms.1.in2 -noinst_HEADERS = setup.h getopt.h +noinst_HEADERS += setup.h getopt.h manfmt_SOURCES = manfmt.c mdsms_SOURCES = mdsms.c -mdsms_LDADD = @LIBOBJS@ +mdsms_LDADD = $(LIBOBJS) $(INTLLIBS) mdsms.1.in2: mdsms.1.in grep -v Id: > mdsms.1.in2 mdsms.1.in @@ -26,7 +34,18 @@ mdsms.1.o: mdsms.1.c mdsms.1.in2 config.h setup.h mdsms.1: manfmt mdsms.1.o ./manfmt > mdsms.1 < mdsms.1.o +MAINTAINERCLEANFILES+= \ + ChangeLog + +CLEANFILES+= \ + ChangeLog.bak + +if MAINTAINER_MODE +ChangeLog: + cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ . $(REACTOS_SOURCES) + +else ChangeLog: - rcs2log >ChangeLog + touch $@ -Makefile.in: ChangeLog +endif