[PATCH] symlink man page too

Colin Watson cjwatson at debian.org
Mon Mar 27 05:58:07 EST 2006


It's good practice to provide a man page symlink (lspcmcia.8) to go
along with a binary symlink (lspcmcia). This patch adds that.

=== modified file 'Makefile'
--- Makefile	
+++ Makefile	
@@ -306,9 +306,11 @@
 
 install-man:
 	$(INSTALL_DATA) -D man/man8/pccardctl.8 $(DESTDIR)$(mandir)/man8/pccardctl.8
+	$(SYMLINK) pccardctl.8 $(DESTDIR)$(mandir)/man8/lspcmcia.8
 
 uninstall-man:
 	- rm $(DESTDIR)$(mandir)/man8/pccardctl.8
+	- rm $(DESTDIR)$(mandir)/man8/lspcmcia.8
 
 
 install: install-tools install-man $(INSTALL_TARGETS)

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the linux-pcmcia mailing list