openbsd-ports/net/gabber/patches/patch-doc_C_Makefile_in

23 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-doc_C_Makefile_in,v 1.1.1.1 2002/10/28 17:22:17 todd Exp $
$RuOBSD: patch-doc_C_Makefile_in,v 1.1 2002/10/16 01:24:18 grange Exp $
--- doc/C/Makefile.in.orig Wed Oct 16 04:31:36 2002
+++ doc/C/Makefile.in Wed Oct 16 04:35:39 2002
@@ -370,14 +370,14 @@ dist-hook:
-cp *.png $(distdir)/
install-data-local: index.html
- $(mkinstalldirs) $(gabber_helpdir)/stylesheet-images
+ $(mkinstalldirs) $(DESTDIR)$(gabber_helpdir)/stylesheet-images
-for file in $(SGML_FILES) $(srcdir)/gabber/*.html $(srcdir)/gabber/*.css $(srcdir)/*.png; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
- $(INSTALL_DATA) $(srcdir)/$$file $(gabber_helpdir)/$$basefile; \
+ $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(gabber_helpdir)/$$basefile; \
done
-for file in $(srcdir)/gabber/stylesheet-images/*.*; do \
basefile=`echo $$file | sed -e 's,^.*/,,'`; \
- $(INSTALL_DATA) $(srcdir)/$$file $(gabber_helpdir)/stylesheet-images/$$basefile; \
+ $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(gabber_helpdir)/stylesheet-images/$$basefile; \
done
gabber.ps: $(SGML_FILES)