help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: Makefile.in support for new send-pr man pages


From: Yngve Svendsen
Subject: PATCH: Makefile.in support for new send-pr man pages
Date: Wed, 16 May 2001 17:42:17 +0200

The following patch is for the send-pr/Makefile.in file of GNATS 4. It accommodates the new send-pr.conf and the updated send-pr man pages. As always, when patching makefiles, notice that the indentation from the left margin must consist of TABs, not spaces.


Index: Makefile.in
===================================================================
RCS file: /cvs/gnats/gnats/send-pr/Makefile.in,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.in
--- Makefile.in 2001/01/24 22:51:16     1.6
+++ Makefile.in 2001/05/16 15:21:00
@@ -118,7 +118,7 @@ states.texi s-usage.texi categ.texi send

 # Gordon took out send-pr.elc, instead installing send-pr.el.
 # all: send-pr install-sid send-pr.elc send-pr.1
-all: send-pr install-sid send-pr.el send-pr.1 version.texi
+all: send-pr install-sid send-pr.el send-pr.1 send-pr.conf.5 version.texi

 send-pr: send-pr.sh Makefile
        sed -e 's,xVERSIONx,$(VERSION),' \
@@ -174,6 +174,7 @@ install-norm-arch-dep:
        $(INSTALL_SCRIPT) send-pr $(bindir)/send-pr
        $(INSTALL_SCRIPT) install-sid $(bindir)/install-sid
        $(INSTALL_DATA) send-pr.1 $(man1dir)/send-pr.1
+    $(INSTALL_DATA) send-pr.conf.5 $(man5dir)/send-pr.conf.5

 install-info: send-pr.info
        for i in send-pr.info* ; do \
@@ -184,6 +185,7 @@ uninstall:
        -rm -f $(bindir)/send-pr $(bindir)/install-sid
        -rmdir $(datadir)/gnats
        -rm -f $(man1dir)/send-pr.1
+    -rm -f $(man5dir)/send-pr.conf.5
        -rm -f $(lispdir)/send-pr.el $(lispdir)/send-pr.elc
        -rm -f $(infodir)/send-pr.info*

@@ -197,9 +199,13 @@ version.texi: Makefile
        mv address@hidden $@

 send-pr.1: Makefile
-       sed -e 's,xVERSIONx,$(VERSION),g' $(srcdir)/send-pr.man > address@hidden
+ sed -e 's,xVERSIONx,$(VERSION),g' -e 's,xSYSCONFDIRx,$(sysconfdir),g' $(srcdir)/send-pr.man > address@hidden
        mv address@hidden $@

+send-pr.conf.5: Makefile
+ sed -e 's,xVERSIONx,$(VERSION),g' -e 's,xSYSCONFDIRx,$(sysconfdir),g' $(srcdir)/send-pr.conf.man > address@hidden
+    mv address@hidden $@
+
 send-pr.info: send-pr.texi version.texi fields.texi s-usage.texi categ.texi
        $(MAKEINFO) -I $(srcdir) -o send-pr.info $(srcdir)/send-pr.texi

@@ -225,7 +231,7 @@ stamp-gnats: Makefile
 # Clean things up.

 clean: mostlyclean
-       -rm -f send-pr install-sid send-pr.1 send-pr.el send-pr.elc stamp-gnats
+ -rm -f send-pr install-sid send-pr.1 send-pr.conf.5 send-pr.el send-pr.elc stamp-gnats
        -rm -f *.dvi

 mostlyclean:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]