mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
837e7f9d89
PR: 28053 Submitted by: KATO Tsuguru <tkato@prontomail.com>
75 lines
2.2 KiB
Plaintext
75 lines
2.2 KiB
Plaintext
--- doc/Makefile.orig Thu Dec 21 12:45:20 2000
|
|
+++ doc/Makefile Sat Jun 9 17:08:11 2001
|
|
@@ -10,12 +10,11 @@
|
|
|
|
all: info man
|
|
|
|
-info: xzgv.gz
|
|
+info: xzgv.info
|
|
dvi: xzgv.dvi
|
|
|
|
-xzgv.gz: xzgv.texi
|
|
- makeinfo xzgv.texi
|
|
- gzip -f xzgv xzgv-?
|
|
+xzgv.info: xzgv.texi
|
|
+ makeinfo --no-split xzgv.texi -o xzgv.info
|
|
|
|
# `-c' removes the huge number of associated files created by TeX.
|
|
# This saves doing a `make clean' from hell. :-)
|
|
@@ -36,36 +35,36 @@
|
|
installdirs:
|
|
/bin/sh ../mkinstalldirs $(INFODIR) $(MANDIR)
|
|
|
|
-install: ../src/install-info installdirs
|
|
- install xzgv.1 $(MANDIR)
|
|
- install xzgv.gz xzgv-?.gz $(INFODIR)
|
|
- chmod 644 $(MANDIR)/xzgv.1 $(INFODIR)/xzgv*
|
|
+install:
|
|
+ ${BSD_INSTALL_MAN} xzgv.1 $(MANDIR)
|
|
+ ${BSD_INSTALL_DATA} xzgv.info $(INFODIR)
|
|
+ install-info $(INFODIR)/xzgv.info $(INFODIR)/dir
|
|
# Update info `dir' file.
|
|
# Info always uses a dir file in preference to a dir.gz, so we don't use
|
|
# dir.gz unless it's the only game in town.
|
|
- if [ "$(INFO_DIR_UPDATE)" != no ]; then \
|
|
- gzip -d xzgv.gz; \
|
|
- if [ -f $(INFODIR)/dir.gz -a ! -f $(INFODIR)/dir ]; then \
|
|
- gzip -d $(INFODIR)/dir.gz; \
|
|
- ../src/install-info xzgv $(INFODIR)/dir; \
|
|
- gzip $(INFODIR)/dir; \
|
|
- else \
|
|
- ../src/install-info xzgv $(INFODIR)/dir; \
|
|
- fi; \
|
|
- chmod a+r $(INFODIR)/dir; \
|
|
- gzip xzgv; \
|
|
- fi
|
|
+# if [ "$(INFO_DIR_UPDATE)" != no ]; then \
|
|
+# gzip -d xzgv.gz; \
|
|
+# if [ -f $(INFODIR)/dir.gz -a ! -f $(INFODIR)/dir ]; then \
|
|
+# gzip -d $(INFODIR)/dir.gz; \
|
|
+# ../src/install-info xzgv $(INFODIR)/dir; \
|
|
+# gzip $(INFODIR)/dir; \
|
|
+# else \
|
|
+# ../src/install-info xzgv $(INFODIR)/dir; \
|
|
+# fi; \
|
|
+# chmod a+r $(INFODIR)/dir; \
|
|
+# gzip xzgv; \
|
|
+# fi
|
|
|
|
../src/install-info: ../src/install-info.c
|
|
cd ../src && $(MAKE) install-info
|
|
|
|
# can't easily fix dir :-/, but do remove the files.
|
|
uninstall:
|
|
- $(RM) $(MANDIR)/xzgv.1
|
|
- $(RM) $(INFODIR)/{xzgv.gz,xzgv-?.gz}
|
|
+ install-info --delete $(INFODIR)/xzgv.info $(INFODIR)/dir
|
|
+ $(RM) $(INFODIR)/xzgv.info
|
|
|
|
# This *doesn't* remove the Info files, which should stick around to
|
|
# be included in the distribution. Ditto for the man page, since
|
|
# building it requires gawk.
|
|
clean:
|
|
- $(RM) *~ xzgv.dvi
|
|
+ $(RM) *~ xzgv.dvi xzgv.info
|