[Top][All Lists]

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

PATCH: support for new send-pr man pages

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

The following patch is for the send-pr/ 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.

RCS file: /cvs/gnats/gnats/send-pr/,v
retrieving revision 1.6
diff -u -p -r1.6
--- 2001/01/24 22:51:16     1.6
+++ 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: 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

        for i in* ; 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)/*

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

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

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


reply via email to

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