freebsd-ports/net/tramp/files/patch-texi-Makefile.in

41 lines
1.2 KiB
Text
Raw Normal View History

2011-03-27 13:30:43 +02:00
--- texi/Makefile.in.orig 2011-02-13 20:38:54.000000000 +0900
+++ texi/Makefile.in 2011-03-27 19:47:32.881845864 +0900
@@ -48,8 +48,8 @@
2010-11-26 15:24:56 +01:00
TEXI_FILES = tramp.texi trampver.texi doclicense.texi \
$(if $(findstring yes, @INSTALL_CHAPTER@), trampinst.texi)
2010-11-26 15:24:56 +01:00
-INFO_FILES = $(localinfodir)/tramp
-INSTALL_FILES = $(DESTDIR)$(infodir)/tramp
+INFO_FILES = $(localinfodir)/tramp21.info
+INSTALL_FILES = $(DESTDIR)$(infodir)/tramp21.info
CLEAN_FILES = @TRAMP_CLEAN_FILES@ $(wildcard $(localinfodir)/*)
# To be used by maintainer only
2011-03-27 13:30:43 +02:00
@@ -62,19 +62,22 @@
tramp: $(INFO_FILES) $(localinfodir)/dir
-install: tramp $(INSTALL_FILES) $(DESTDIR)$(infodir)/dir
+install: tramp $(INSTALL_FILES)
clean:
$(RM) $(CLEAN_FILES)
distclean: clean
2010-11-26 15:24:56 +01:00
-$(localinfodir)/tramp: $(TEXI_FILES)
+$(localinfodir)/%.info: $(TEXI_FILES)
$(MKDIR) $(dir $@)
2010-05-23 10:27:18 +02:00
$(MAKEINFO) --footnote-style=end -D $(EMACS_GVFS) -D $(EMACS_GW) \
2011-03-27 13:30:43 +02:00
- -D $(EMACS_INFO) -D $(INSTALL_CHAPTER) -o $@ $(notdir $@).texi
+ -D $(EMACS_INFO) -D $(INSTALL_CHAPTER) -o $@ $*.texi
2010-11-26 15:24:56 +01:00
-$(DESTDIR)$(infodir)/tramp:
+$(localinfodir)/tramp21.info: $(localinfodir)/tramp.info
+ cp $(localinfodir)/tramp.info $@
+
2010-11-26 15:24:56 +01:00
+$(DESTDIR)$(infodir)/tramp21.info:
$(MKDIR) $(dir $@)
$(INSTALL) $(INFO_FILES) $(DESTDIR)$(infodir)