Id: line filtering to preprocess man page on SunOS cleanly. unlabeled-1.4.2
authorshort <>
Tue, 7 Sep 1999 16:00:25 +0000 (16:00 +0000)
committershort <>
Tue, 7 Sep 1999 16:00:25 +0000 (16:00 +0000)
Makefile.am
autogen.sh

index 143ab2c..efa442d 100644 (file)
@@ -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
index 0b46813..a7e6e2c 100755 (executable)
@@ -30,6 +30,7 @@ rm -r -f \
        getopt.c \
        getopt.h \
        getopt1.c \
+       mdsms.1.inid \
        sms9110 \
        sms9110.1 \
        sms9110-[0-9]*.tar.gz \