summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrendan O'Dea <bod@debian.org>2000-04-15 14:17:40 +0000
committerBrendan O'Dea <bod@debian.org>2000-04-15 14:17:40 +0000
commit002671997ba6775fe320a0274ccb31795608bf34 (patch)
tree5be27deae2b2d76595b7ecc28c2673635cd7abb2
parent08b288405d82e6765f88903ee07e92d087f0b715 (diff)
downloadhelp2man-002671997ba6775fe320a0274ccb31795608bf34.tar.gz
Add mkinstalldirs
-rw-r--r--Makefile.in12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index d6b26ec..3018e46 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,5 +1,5 @@
# Makefile for help2man
-# $Id: Makefile.in,v 1.2 1999-11-01 10:50:17 bod Exp $
+# $Id: Makefile.in,v 1.3 2000-04-15 14:17:40 bod Exp $
SHELL = @SHELL@
@@ -20,17 +20,20 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_INFO = @INSTALL_INFO@
MAKEINFO = @MAKEINFO@
-
+MKINSTALLDIRS = $(srcdir)/mkinstalldirs
PERL = @PERL@
target = help2man
all: $(target)
-install: $(target) $(target)$(manext)
+install: $(target) $(target)$(manext) $(target).info
+ $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $(target) $(DESTDIR)$(bindir)/$(target)
+ $(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
$(INSTALL_DATA) $(target)$(manext) \
$(DESTDIR)$(man1dir)/$(target)$(manext)
+ $(MKINSTALLDIRS) $(DESTDIR)$(infodir)
$(INSTALL_DATA) $(target).info $(DESTDIR)$(infodir)/$(target).info
if test -f $(DESTDIR)$(infodir)/dir; \
then \
@@ -56,3 +59,6 @@ $(target)$(manext): $(target) $(srcdir)/$(target).aux
$(target).info: $(srcdir)/$(target).texi
$(MAKEINFO) $? -o $@
+
+Makefile: $(srcdir)/Makefile.in
+ ./config.status