X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=blobdiff_plain;f=Makefile.am;h=612522ae3495220f0c1ece0d4dca3258c8d9b92f;hp=f0ac2840731c1a1112e3a004e4d6c90c9cd34e67;hb=6a96f22d3c3e11f63ee17687a9de7f4c6ba854c5;hpb=129da276c7fa02888d49d19b85d12a9840841132;ds=sidebyside diff --git a/Makefile.am b/Makefile.am index f0ac284..612522a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,36 +1,51 @@ # $Id$ -# -# $Log$ -# Revision 1.2 1999/06/02 18:26:32 short -# Makefile target dist-tarZ added for 'compress'-ed archives. -# -# Revision 1.1.1.1 1999/05/26 13:06:26 short -# First alpha release. -# + +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.in ChangeLog +EXTRA_DIST += autogen.pl mdsms.1.c mdsms.1.in ChangeLog ABOUT-NLS mdsms.spec.in INSTALL mkinstalldirs -CLEANFILES = ChangeLog +CLEANFILES += mdsms.1 mdsms.1.in2 -bin_PROGRAMS = mdsms +bin_PROGRAMS += mdsms man_MANS = mdsms.1 -noinst_PROGRAMS = manfmt mdsms.1 -noinst_HEADERS = setup.h getopt.h +noinst_PROGRAMS = manfmt +noinst_SCRIPTS = mdsms.1 mdsms.1.in2 +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 -mdsms.1.o: mdsms.1.c mdsms.1.in config.h setup.h +mdsms.1.o: mdsms.1.c mdsms.1.in2 config.h setup.h $(CPP) > mdsms.1.o mdsms.1.c mdsms.1: manfmt mdsms.1.o ./manfmt > mdsms.1 < mdsms.1.o -.PHONY: ChangeLog +MAINTAINERCLEANFILES+= \ + ChangeLog + +CLEANFILES+= \ + ChangeLog.bak +if MAINTAINER_MODE ChangeLog: - rcs2log >ChangeLog + cvs2cl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ . $(REACTOS_SOURCES) + +else +ChangeLog: + touch $@ + +endif