37 lines
1.8 KiB
Plaintext
37 lines
1.8 KiB
Plaintext
$OpenBSD: patch-doc_Makefile_in,v 1.1.1.1 2003/06/24 23:03:23 espie Exp $
|
|
--- doc/Makefile.in.orig Fri Sep 13 10:15:21 2002
|
|
+++ doc/Makefile.in Tue Jun 24 18:11:19 2003
|
|
@@ -200,6 +200,10 @@ dist-info: $(INFO_DEPS)
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
|
for file in $$d/$$base*; do \
|
|
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
|
+ ext=`echo $$relfile | sed -e 's/^.*\\.//'`; \
|
|
+ relfile=`echo $$relfile | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
+ relfile=`echo $$relfile | sed -e 's/^.*\///'`; \
|
|
+ relfile=`echo $$relfile | sed '$(transform)'`.$$ext; \
|
|
test -f $(distdir)/$$relfile || \
|
|
cp -p $$file $(distdir)/$$relfile; \
|
|
done; \
|
|
@@ -325,6 +329,10 @@ install-info-am: $(INFO_DEPS)
|
|
for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
|
|
if test -f $$ifile; then \
|
|
relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
|
|
+ ext=`echo $$relfile | sed -e 's/^.*\\.//'`; \
|
|
+ relfile=`echo $$relfile | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
+ relfile=`echo $$relfile | sed -e 's/^.*\///'`; \
|
|
+ relfile=`echo $$relfile | sed '$(transform)'`.$$ext; \
|
|
echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
|
|
$(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
|
|
else : ; fi; \
|
|
@@ -335,6 +343,10 @@ install-info-am: $(INFO_DEPS)
|
|
install-info --version | grep -i -v debian) >/dev/null 2>&1; then \
|
|
list='$(INFO_DEPS)'; \
|
|
for file in $$list; do \
|
|
+ ext=`echo $$file | sed -e 's/^.*\\.//'`; \
|
|
+ file=`echo $$file | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
+ file=`echo $$file | sed -e 's/^.*\///'`; \
|
|
+ file=`echo $$file | sed '$(transform)'`.$$ext; \
|
|
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
|
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
|
done; \
|