openbsd-ports/devel/t1lib/patches/patch-doc_Makefile.in

36 lines
1.0 KiB
Plaintext
Raw Normal View History

2001-08-27 21:03:00 -04:00
--- doc/Makefile.in.orig Sat May 26 05:41:35 2001
+++ doc/Makefile.in Mon Aug 27 16:35:22 2001
@@ -39,6 +39,8 @@ ALLCFLAGS = $(CFLAGS) $(X_CFLAGS)
2001-03-11 20:41:11 -05:00
SUBMAKE = $(MAKE) 'CC=$(CC)' 'CFLAGS=$(ALLCFLAGS)' 'OPTIONS=$(OPTIONS)'
@SET_MAKE@
+DESTDIR =
+
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
2001-08-27 21:03:00 -04:00
@@ -91,18 +93,18 @@ clean: dummy
2001-03-11 20:41:11 -05:00
install: dummy
2001-08-27 21:03:00 -04:00
if (test -f t1lib_doc.ps) \
2001-03-11 20:41:11 -05:00
then \
- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@/doc; \
2001-08-27 21:03:00 -04:00
- $(INSTALL_DATA) t1lib_doc.ps @T1LIB_DATA_DIR@/doc; \
+ $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
+ $(INSTALL_DATA) t1lib_doc.ps $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
2001-03-11 20:41:11 -05:00
fi;
if (test -f t1lib_doc.pdf) \
then \
- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@/doc; \
- $(INSTALL_DATA) t1lib_doc.pdf @T1LIB_DATA_DIR@/doc; \
2001-08-27 21:03:00 -04:00
+ $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
+ $(INSTALL_DATA) t1lib_doc.pdf $(DESTDIR)@T1LIB_DATA_DIR@/doc; \
2001-03-11 20:41:11 -05:00
fi;
2001-08-27 21:03:00 -04:00
uninstall: dummy
- $(RM) -R @T1LIB_DATA_DIR@/doc
+ $(RM) -R $(DESTDIR)@T1LIB_DATA_DIR@/doc
dummy: