openbsd-ports/editors/jed/patches/patch-src_Makefile.in

55 lines
2.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-src_Makefile.in,v 1.4 2003/05/14 01:08:05 naddy Exp $
--- src/Makefile.in.orig Sun Oct 20 00:55:30 2002
+++ src/Makefile.in Tue May 13 18:58:53 2003
@@ -175,14 +175,14 @@ distclean: clean
2000-09-05 20:07:14 -04:00
/bin/rm -rf $(OBJDIR) Makefile sysconf.h
install_directories:
+ $(MKINSDIR) $(DESTDIR)$(prefix)/info
+ $(MKINSDIR) $(DESTDIR)$(prefix)/share/doc/jed
+ $(MKINSDIR) $(DESTDIR)$(prefix)/share/doc/jed/txt
+ $(MKINSDIR) $(DESTDIR)$(prefix)/share/doc/jed/manual
$(MKINSDIR) $(DEST_BIN_DIR)
$(MKINSDIR) $(DEST_MAN_DIR)
$(MKINSDIR) $(DEST_JED_ROOT)
$(MKINSDIR) $(DEST_JED_ROOT)/bin
- $(MKINSDIR) $(DEST_JED_ROOT)/info
- $(MKINSDIR) $(DEST_JED_ROOT)/doc
- $(MKINSDIR) $(DEST_JED_ROOT)/doc/txt
- $(MKINSDIR) $(DEST_JED_ROOT)/doc/manual
$(MKINSDIR) $(DEST_JED_ROOT)/lib
$(MKINSDIR) $(DEST_JED_ROOT)/lib/colors
$(MKINSDIR) $(DEST_JED_ROOT)/lib/colors/Xjed
@@ -225,23 +225,23 @@ install: all install_directories
2000-09-05 20:07:14 -04:00
done
@for i in $(JED_DOC_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/; \
2000-09-05 20:07:14 -04:00
+ $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/share/doc/jed/; \
+ echo $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/share/doc/jed/; \
done
@for i in $(JED_DOC_TXT_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/txt; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/txt; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/share/doc/jed/txt; \
+ echo $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/share/doc/jed/txt; \
done
@for i in $(JED_DOC_MAN_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/manual; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/doc/manual; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/share/doc/jed/manual; \
+ echo $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/share/doc/jed/manual; \
2000-09-05 20:07:14 -04:00
done
@for i in $(JED_INFO_FILES); \
do \
- $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/info/; \
- echo $(INSTALL_DATA) $$i $(DEST_JED_ROOT)/info/; \
2000-09-05 20:07:14 -04:00
+ $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/info/; \
+ echo $(INSTALL_DATA) $$i $(DESTDIR)$(prefix)/info/; \
done
# The symlinks target is for my own private use. It simply creates the object