public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* PATCH: Makefile.in support for new send-pr man pages
@ 2001-05-16  8:43 Yngve Svendsen
  0 siblings, 0 replies; only message in thread
From: Yngve Svendsen @ 2001-05-16  8:43 UTC (permalink / raw)
  To: gnats-devel

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 $@-t $@

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

+send-pr.conf.5: Makefile
+    sed -e 's,xVERSIONx,$(VERSION),g' -e 's,xSYSCONFDIRx,$(sysconfdir),g' 
$(srcdir)/send-pr.conf.man > $@-t
+    mv $@-t $@
+
  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:

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-16  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-16  8:43 PATCH: Makefile.in support for new send-pr man pages Yngve Svendsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).