From: short <> Date: Tue, 7 Sep 1999 16:00:25 +0000 (+0000) Subject: Id: line filtering to preprocess man page on SunOS cleanly. X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=commitdiff_plain;h=c1f961bc31123cec80e6b3565b3008d0de251c37 Id: line filtering to preprocess man page on SunOS cleanly. --- diff --git a/Makefile.am b/Makefile.am index 143ab2c..efa442d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,12 +4,12 @@ AUTOMAKE_OPTIONS = dist-tarZ EXTRA_DIST = autogen.sh mdsms.1.c mdsms.1.in ChangeLog need-declaration.m4 -CLEANFILES = ChangeLog sms9110.1 +CLEANFILES = ChangeLog sms9110.1 mdsms.1.inid bin_PROGRAMS = sms9110 man_MANS = sms9110.1 noinst_PROGRAMS = manfmt -noinst_SCRIPTS = sms9110.1 +noinst_SCRIPTS = sms9110.1 mdsms.1.inid noinst_HEADERS = setup.h getopt.h manfmt_SOURCES = manfmt.c @@ -17,7 +17,10 @@ manfmt_SOURCES = manfmt.c sms9110_SOURCES = mdsms.c sms9110_LDADD = @LIBOBJS@ -sms9110.1.o: mdsms.1.c mdsms.1.in config.h setup.h +mdsms.1.inid: mdsms.1.in + grep -v Id: > mdsms.1.inid mdsms.1.in + +sms9110.1.o: mdsms.1.c mdsms.1.inid config.h setup.h $(CPP) > sms9110.1.o mdsms.1.c sms9110.1: manfmt sms9110.1.o diff --git a/autogen.sh b/autogen.sh index 0b46813..a7e6e2c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -30,6 +30,7 @@ rm -r -f \ getopt.c \ getopt.h \ getopt1.c \ + mdsms.1.inid \ sms9110 \ sms9110.1 \ sms9110-[0-9]*.tar.gz \