[PATCH] send-pr manpages install fix

Chad Walstrom <[email protected]>
Newsgroups gmane.comp.bug-tracking.gnats.general
Message-ID <[email protected]>
The following patch fixes the installation of send-pr manpages.  Needed
to call mkinstalldir from root to install man1 and man8 directories in
the $(DESTDIR).

-- 
Chad Walstrom <[email protected]>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */

_______________________________________________
Help-gnats mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnats
send-pr_install.patch (text/plain, 1.7 KB)
Index: send-pr/ChangeLog
===================================================================
RCS file: /cvsroot/gnats/gnats/send-pr/ChangeLog,v
retrieving revision 1.48
diff -u -b -B -u -r1.48 ChangeLog
--- send-pr/ChangeLog	30 Nov 2004 15:46:11 -0000	1.48
+++ send-pr/ChangeLog	24 Feb 2005 18:55:16 -0000
@@ -1,6 +1,12 @@
+2005-02-24  Chad Walstrom  <[email protected]>
+
+	* Makefile.in (install-norm-arch-dep): Added mkinstalldir call to
+	install the manpage directories.  send-pr.1 and install-sid.8 were not
+	being installed otherwise.
+
 2004-11-29  Chad Walstrom  <[email protected]>
 
-	* Makefile.in (install-norm-arch-indep): Added "all" to the dependency
+	* Makefile.in (install-norm-arch-dep): Added "all" to the dependency
 	list.  Prepended send-pr.conf with $(srcdir) variable, since it's not
 	a generated file.
 	(send-pr.1): Added send-pr.man to dependency list
Index: send-pr/Makefile.in
===================================================================
RCS file: /cvsroot/gnats/gnats/send-pr/Makefile.in,v
retrieving revision 1.20
diff -u -b -B -u -r1.20 Makefile.in
--- send-pr/Makefile.in	30 Nov 2004 15:45:41 -0000	1.20
+++ send-pr/Makefile.in	24 Feb 2005 18:55:16 -0000
@@ -117,7 +117,9 @@
 install-norm-arch-dep: all
 	$(INSTALL_SCRIPT) send-pr $(DESTDIR)$(bindir)/send-pr
 	$(INSTALL_SCRIPT) install-sid $(DESTDIR)$(bindir)/install-sid
+	$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(man1dir)/
 	$(INSTALL_DATA) send-pr.1 $(DESTDIR)$(man1dir)/send-pr.1
+	$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(man8dir)/
 	$(INSTALL_DATA) install-sid.8 $(DESTDIR)$(man8dir)/install-sid.8
 	$(INSTALL_DATA) $(srcdir)/send-pr.conf $(DESTDIR)$(sysconfdir)/gnats/
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCHiPHDMcLGCBsWv0RAlfkAJ90skjRcMjBFZETGYO5bSAj1mPzQQCeILL2
356CC1SmCdl6UMit4MbFpxc=
=NXaJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.