[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ./ChangeLog ./Makefile.comm ./Makefile.in...
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ./ChangeLog ./Makefile.comm ./Makefile.in... |
Date: |
Sun, 26 Feb 2006 14:03:26 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Branch:
Changes by: Werner LEMBERG <address@hidden> 06/02/26 14:03:26
Modified files:
. : ChangeLog Makefile.comm Makefile.in
Makefile.sub configure
contrib/eqn2graph: Makefile.sub
contrib/gdiffmk: Makefile.sub
contrib/grap2graph: Makefile.sub
contrib/pic2graph: Makefile.sub
doc : Makefile.sub
m4 : groff.m4
src/devices/xditview: Makefile.sub
src/preproc/eqn: Makefile.sub
src/roff/grog : Makefile.sub
src/roff/nroff : Makefile.sub
src/utils/afmtodit: Makefile.sub
src/utils/indxbib: Makefile.sub
tmac : Makefile.sub
Log message:
* Makefile.in: Add comment about DESTDIR.
* Makefile.sub: Add DESTDIR to install and uninstall targets
to support staged installations.
* Makefile.comm: Likewise.
* doc/Makefile.sub: Likewise.
* contrib/eqn2graph/Makefile.sub: Likewise.
* contrib/gdiffmk/Makefile.sub: Likewise.
* contrib/grap2graph/Makefile.sub: Likewise.
* contrib/pic2graph/Makefile.sub: Likewise.
* src/devices/xditview/Makefile.sub: Likewise.
* src/preproc/eqn/Makefile.sub: Likewise.
* src/roff/grog/Makefile.sub: Likewise.
* src/roff/nroff/Makefile.sub: Likewise.
* src/utils/afmtodit/Makefile.sub: Likewise.
* src/utils/indxbib/Makefile.sub: Likewise.
* tmac/Makefile.sub: Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/groff/ChangeLog.diff?tr1=1.915&tr2=1.916&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/Makefile.comm.diff?tr1=1.29&tr2=1.30&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/Makefile.in.diff?tr1=1.94&tr2=1.95&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/Makefile.sub.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/configure.diff?tr1=1.76&tr2=1.77&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/contrib/eqn2graph/Makefile.sub.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/contrib/gdiffmk/Makefile.sub.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/contrib/grap2graph/Makefile.sub.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/contrib/pic2graph/Makefile.sub.diff?tr1=1.1.1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/doc/Makefile.sub.diff?tr1=1.24&tr2=1.25&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/m4/groff.m4.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/devices/xditview/Makefile.sub.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/preproc/eqn/Makefile.sub.diff?tr1=1.14&tr2=1.15&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/roff/grog/Makefile.sub.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/roff/nroff/Makefile.sub.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/utils/afmtodit/Makefile.sub.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/src/utils/indxbib/Makefile.sub.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/groff/groff/tmac/Makefile.sub.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
Patches:
Index: groff/ChangeLog
diff -u groff/ChangeLog:1.915 groff/ChangeLog:1.916
--- groff/ChangeLog:1.915 Fri Feb 24 08:08:42 2006
+++ groff/ChangeLog Sun Feb 26 14:03:25 2006
@@ -1,3 +1,23 @@
+2006-02-26 Claudio Fontana <address@hidden>
+
+ * Makefile.in: Add comment about DESTDIR.
+
+ * Makefile.sub: Add DESTDIR to install and uninstall targets
+ to support staged installations.
+ * Makefile.comm: Likewise.
+ * doc/Makefile.sub: Likewise.
+ * contrib/eqn2graph/Makefile.sub: Likewise.
+ * contrib/gdiffmk/Makefile.sub: Likewise.
+ * contrib/grap2graph/Makefile.sub: Likewise.
+ * contrib/pic2graph/Makefile.sub: Likewise.
+ * src/devices/xditview/Makefile.sub: Likewise.
+ * src/preproc/eqn/Makefile.sub: Likewise.
+ * src/roff/grog/Makefile.sub: Likewise.
+ * src/roff/nroff/Makefile.sub: Likewise.
+ * src/utils/afmtodit/Makefile.sub: Likewise.
+ * src/utils/indxbib/Makefile.sub: Likewise.
+ * tmac/Makefile.sub: Likewise.
+
2006-02-24 Werner LEMBERG <address@hidden>
* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
Index: groff/Makefile.comm
diff -u groff/Makefile.comm:1.29 groff/Makefile.comm:1.30
--- groff/Makefile.comm:1.29 Thu May 26 21:01:56 2005
+++ groff/Makefile.comm Sun Feb 26 14:03:25 2006
@@ -1,4 +1,5 @@
-# Copyright (C) 1989-2000, 2002, 2003, 2004 Free Software Foundation, Inc.
+# Copyright (C) 1989-2000, 2002, 2003, 2004, 2006
+# Free Software Foundation, Inc.
# Written by James Clark (address@hidden)
#
# This file is part of groff.
@@ -63,11 +64,8 @@
.PHONY: pure
prefix_must_exist:
- @test -d $(prefix) \
- || (echo ; \
- echo The prefix directory \`$(prefix)\' doesn\'t exist; \
- echo ; \
- exit 1)
+ @test -d $(DESTDIR)$(prefix) \
+ || $(mkinstalldirs) $(DESTDIR)$(prefix)
mostlyclean:
-rm -f $(MOSTLYCLEANFILES)
@@ -170,28 +168,28 @@
.PHONY: install_man
install_man:
- -test -d $(manroot) || $(mkinstalldirs) $(manroot)
- -test -d $(man1dir) || $(mkinstalldirs) $(man1dir)
+ -test -d $(DESTDIR)$(manroot) || $(mkinstalldirs) $(DESTDIR)$(manroot)
+ -test -d $(DESTDIR)$(man1dir) || $(mkinstalldirs) $(DESTDIR)$(man1dir)
@-pages="$(MAN1)"; \
for p in $$pages; do \
prog=`basename $$p .n`; \
- target=$(man1dir)/$(NAMEPREFIX)$$prog.$(man1ext); \
+ target=$(DESTDIR)$(man1dir)/$(NAMEPREFIX)$$prog.$(man1ext); \
rm -f $$target; \
echo $(INSTALL_DATA) $$p $$target; \
$(INSTALL_DATA) $$p $$target; \
done
- -test -d $(man5dir) || $(mkinstalldirs) $(man5dir)
+ -test -d $(DESTDIR)$(man5dir) || $(mkinstalldirs) $(DESTDIR)$(man5dir)
@-pages="$(MAN5)"; \
for p in $$pages; do \
- target=$(man5dir)/`basename $$p .n`.$(man5ext); \
+ target=$(DESTDIR)$(man5dir)/`basename $$p .n`.$(man5ext); \
rm -f $$target; \
echo $(INSTALL_DATA) $$p $$target; \
$(INSTALL_DATA) $$p $$target; \
done
- -test -d $(man7dir) || $(mkinstalldirs) $(man7dir)
+ -test -d $(DESTDIR)$(man7dir) || $(mkinstalldirs) $(DESTDIR)$(man7dir)
@-pages="$(MAN7)"; \
for p in $$pages; do \
- target=$(man7dir)/`basename $$p .n`.$(man7ext); \
+ target=$(DESTDIR)$(man7dir)/`basename $$p .n`.$(man7ext); \
rm -f $$target; \
echo $(INSTALL_DATA) $$p $$target; \
$(INSTALL_DATA) $$p $$target; \
@@ -201,60 +199,65 @@
uninstall_man:
@-pages="$(MAN1)"; \
for p in $$pages; do \
- target=$(man1dir)/$(NAMEPREFIX)`basename $$p .n`.$(man1ext); \
+ target=$(DESTDIR)$(man1dir)/$(NAMEPREFIX)`basename $$p .n`.$(man1ext);
\
echo rm -f $$target; \
rm -f $$target; \
done
@-pages="$(MAN5)"; \
for p in $$pages; do \
- target=$(man5dir)/`basename $$p .n`.$(man5ext); \
+ target=$(DESTDIR)$(man5dir)/`basename $$p .n`.$(man5ext); \
echo rm -f $$target; \
rm -f $$target; \
done
@-pages="$(MAN7)"; \
for p in $$pages; do \
- target=$(man7dir)/`basename $$p .n`.$(man7ext); \
+ target=$(DESTDIR)$(man7dir)/`basename $$p .n`.$(man7ext); \
echo rm -f $$target; \
rm -f $$target; \
done
.PHONY: install_prog
install_prog:
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- rm -f $(bindir)/$(NAMEPREFIX)$(PROG)
- $(INSTALL_PROGRAM) $(PROG) $(bindir)/$(NAMEPREFIX)$(PROG)
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ rm -f $(DESTDIR)$(bindir)/$(NAMEPREFIX)$(PROG)
+ $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)/$(NAMEPREFIX)$(PROG)
.PHONY: uninstall_prog
uninstall_prog:
- -rm -f $(bindir)/$(NAMEPREFIX)$(PROG)
+ -rm -f $(DESTDIR)$(bindir)/$(NAMEPREFIX)$(PROG)
.PHONY: install_dev
install_dev:
- -test -d $(datadir) || $(mkinstalldirs) $(datadir)
- -test -d $(dataprogramdir) || $(mkinstalldirs) $(dataprogramdir)
- -test -d $(datasubdir) || $(mkinstalldirs) $(datasubdir)
- -test -d $(fontdir) || $(mkinstalldirs) $(fontdir)
- -test -d $(fontsubdir) || $(mkinstalldirs) $(fontsubdir)
+ -test -d $(DESTDIR)$(datadir) \
+ || $(mkinstalldirs) $(DESTDIR)$(datadir)
+ -test -d $(DESTDIR)$(dataprogramdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(dataprogramdir)
+ -test -d $(DESTDIR)$(datasubdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(datasubdir)
+ -test -d $(DESTDIR)$(fontdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(fontdir)
+ -test -d $(DESTDIR)$(fontsubdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(fontsubdir)
-if test -d $(srcdir)/generate; then \
- test -d $(fontsubdir)/generate \
- || $(mkinstalldirs) $(fontsubdir)/generate; \
+ test -d $(DESTDIR)$(fontsubdir)/generate \
+ || $(mkinstalldirs) $(DESTDIR)$(fontsubdir)/generate; \
fi
-test -z "$(DEVFILES)" \
|| for f in ""$(DEVFILES); do \
- rm -f $(fontsubdir)/$$f; \
+ rm -f $(DESTDIR)$(fontsubdir)/$$f; \
if test -f $$f; then \
- $(INSTALL_DATA) $$f $(fontsubdir)/$$f; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(fontsubdir)/$$f; \
else \
- $(INSTALL_DATA) $(srcdir)/$$f $(fontsubdir)/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(fontsubdir)/$$f; \
fi; \
done
-test -z "$(DEVSCRIPTS)" \
|| for f in ""$(DEVSCRIPTS); do \
- rm -f $(fontsubdir)/$$f; \
+ rm -f $(DESTDIR)$(fontsubdir)/$$f; \
if test -f $$f; then \
- $(INSTALL_SCRIPT) $$f $(fontsubdir)/$$f; \
+ $(INSTALL_SCRIPT) $$f $(DESTDIR)$(fontsubdir)/$$f; \
else \
- $(INSTALL_SCRIPT) $(srcdir)/$$f $(fontsubdir)/$$f; \
+ $(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(fontsubdir)/$$f; \
fi; \
done
@@ -262,10 +265,11 @@
uninstall_dev:
-test -z "$(DEVFILES)$(DEVSCRIPTS)" \
|| for f in ""$(DEVFILES) $(DEVSCRIPTS); do \
- rm -f $(fontsubdir)/$$f; \
+ rm -f $(DESTDIR)$(fontsubdir)/$$f; \
done
- -test -d $(fontsubdir)/generate && rmdir $(fontsubdir)/generate
- -rmdir $(fontsubdir)
+ -test -d $(DESTDIR)$(fontsubdir)/generate \
+ && rmdir $(DESTDIR)$(fontsubdir)/generate
+ -rmdir $(DESTDIR)$(fontsubdir)
.PHONY: depend_src
depend_src: depend.temp
Index: groff/Makefile.in
diff -u groff/Makefile.in:1.94 groff/Makefile.in:1.95
--- groff/Makefile.in:1.94 Thu Jan 19 16:18:45 2006
+++ groff/Makefile.in Sun Feb 26 14:03:25 2006
@@ -260,6 +260,9 @@
address@hidden@
address@hidden@
+# All the previous installation directories, when used, are prefixed with
+# $(DESTDIR) during install and uninstall, to support staged installations.
+
# DEFINES should include the following:
#
# -DWORDS_BIGENDIAN if your target platform is big-endian
Index: groff/Makefile.sub
diff -u groff/Makefile.sub:1.13 groff/Makefile.sub:1.14
--- groff/Makefile.sub:1.13 Tue Jan 10 09:43:43 2006
+++ groff/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -41,4 +41,5 @@
# Always create the site-font directory as a guide to the user.
install_data:
- -test -d $(localfontdir) || $(mkinstalldirs) $(localfontdir)
+ -test -d $(DESTDIR)$(localfontdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(localfontdir)
Index: groff/configure
diff -u groff/configure:1.76 groff/configure:1.77
--- groff/configure:1.76 Wed Jan 11 00:37:42 2006
+++ groff/configure Sun Feb 26 14:03:25 2006
@@ -1096,7 +1096,7 @@
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-x use the X Window System
- --with-appresdir=DIR X11 application resource files
+ --with-appresdir=DIR X11 application resource files
--with-gnu-ld assume the C compiler uses GNU ld default=no
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and
libdir
Index: groff/contrib/eqn2graph/Makefile.sub
diff -u groff/contrib/eqn2graph/Makefile.sub:1.1.1.1
groff/contrib/eqn2graph/Makefile.sub:1.2
--- groff/contrib/eqn2graph/Makefile.sub:1.1.1.1 Sun Jul 7 22:14:56 2002
+++ groff/contrib/eqn2graph/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -11,9 +11,9 @@
chmod +x $@
install_data: eqn2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/eqn2graph
- $(INSTALL_SCRIPT) eqn2graph $(bindir)/eqn2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/eqn2graph
+ $(INSTALL_SCRIPT) eqn2graph $(DESTDIR)$(bindir)/eqn2graph
uninstall_sub:
- -rm -f $(bindir)/eqn2graph
+ -rm -f $(DESTDIR)$(bindir)/eqn2graph
Index: groff/contrib/gdiffmk/Makefile.sub
diff -u groff/contrib/gdiffmk/Makefile.sub:1.4
groff/contrib/gdiffmk/Makefile.sub:1.5
--- groff/contrib/gdiffmk/Makefile.sub:1.4 Thu May 26 21:01:57 2005
+++ groff/contrib/gdiffmk/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -39,9 +39,9 @@
chmod +x $@
install_data: gdiffmk
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/gdiffmk
- $(INSTALL_SCRIPT) gdiffmk $(bindir)/gdiffmk
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/gdiffmk
+ $(INSTALL_SCRIPT) gdiffmk $(DESTDIR)$(bindir)/gdiffmk
uninstall_sub:
- -rm -f $(bindir)/gdiffmk
+ -rm -f $(DESTDIR)$(bindir)/gdiffmk
Index: groff/contrib/grap2graph/Makefile.sub
diff -u groff/contrib/grap2graph/Makefile.sub:1.1.1.1
groff/contrib/grap2graph/Makefile.sub:1.2
--- groff/contrib/grap2graph/Makefile.sub:1.1.1.1 Wed Jul 2 15:35:01 2003
+++ groff/contrib/grap2graph/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -11,9 +11,9 @@
chmod +x $@
install_data: grap2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/grap2graph
- $(INSTALL_SCRIPT) grap2graph $(bindir)/grap2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/grap2graph
+ $(INSTALL_SCRIPT) grap2graph $(DESTDIR)$(bindir)/grap2graph
uninstall_sub:
- -rm -f $(bindir)/grap2graph
+ -rm -f $(DESTDIR)$(bindir)/grap2graph
Index: groff/contrib/pic2graph/Makefile.sub
diff -u groff/contrib/pic2graph/Makefile.sub:1.1.1.1
groff/contrib/pic2graph/Makefile.sub:1.2
--- groff/contrib/pic2graph/Makefile.sub:1.1.1.1 Fri Aug 10 22:16:11 2001
+++ groff/contrib/pic2graph/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -11,9 +11,9 @@
chmod +x $@
install_data: pic2graph
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/pic2graph
- $(INSTALL_SCRIPT) pic2graph $(bindir)/pic2graph
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/pic2graph
+ $(INSTALL_SCRIPT) pic2graph $(DESTDIR)$(bindir)/pic2graph
uninstall_sub:
- -rm -f $(bindir)/pic2graph
+ -rm -f $(DESTDIR)$(bindir)/pic2graph
Index: groff/doc/Makefile.sub
diff -u groff/doc/Makefile.sub:1.24 groff/doc/Makefile.sub:1.25
--- groff/doc/Makefile.sub:1.24 Tue Jan 3 23:57:03 2006
+++ groff/doc/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -165,68 +165,78 @@
install_data: groff.info $(DOCFILES) $(PROCESSEDDOCFILES) $(make_install_html)
\
$(EXAMPLEFILES) $(PROCESSEDEXAMPLEFILES)
- -test -d $(infodir) || $(mkinstalldirs) $(infodir)
+ -test -d $(DESTDIR)$(infodir) || $(mkinstalldirs) $(DESTDIR)$(infodir)
# Prefer info files in builddir over srcdir; we test for
# the existence of `groff.info'.
d=.; \
test -f "groff.info" || d=$(srcdir); \
for f in $$d/groff.info `ls $$d/groff.info*`; do \
- rm -f $(infodir)/$$f; \
- $(INSTALL_DATA) $$f $(infodir)/$$f; \
+ rm -f $(DESTDIR)$(infodir)/$$f; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$f; \
done
- $(INSTALL_INFO) --info-dir=$(infodir) $(infodir)/groff.info
- -test -d $(docdir) || $(mkinstalldirs) $(docdir)
+ $(INSTALL_INFO) --info-dir=$(DESTDIR)$(infodir) \
+ $(DESTDIR)$(infodir)/groff.info
+ -test -d $(DESTDIR)$(docdir) || $(mkinstalldirs) $(DESTDIR)$(docdir)
for f in $(DOCFILES); do \
- rm -f $(docdir)/$$f; \
- $(INSTALL_DATA) $(srcdir)/$$f $(docdir)/$$f; \
+ rm -f $(DESTDIR)$(docdir)/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(docdir)/$$f; \
done
for f in $(PROCESSEDDOCFILES); do \
- rm -f $(docdir)/$$f; \
- $(INSTALL_DATA) $$f $(docdir)/$$f; \
+ rm -f $(DESTDIR)$(docdir)/$$f; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \
done
- -test -d $(exampledir) || $(mkinstalldirs) $(exampledir)
+ -test -d $(DESTDIR)$(exampledir) \
+ || $(mkinstalldirs) $(DESTDIR)$(exampledir)
for f in $(EXAMPLEFILES); do \
- rm -f $(exampledir)/$$f; \
- $(INSTALL_DATA) $(srcdir)/$$f $(exampledir)/$$f; \
+ rm -f $(DESTDIR)$(exampledir)/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(exampledir)/$$f; \
done
for f in $(PROCESSEDEXAMPLEFILES); do \
- rm -f $(exampledir)/$$f; \
- $(INSTALL_DATA) $$f $(exampledir)/$$f; \
+ rm -f $(DESTDIR)$(exampledir)/$$f; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(exampledir)/$$f; \
done
install_html: $(HTMLDOCFILES) $(HTMLEXAMPLEFILES)
- -test -d $(htmldocdir) || $(mkinstalldirs) $(htmldocdir)
+ -test -d $(DESTDIR)$(htmldocdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(htmldocdir)
for f in `ls $(HTMLDOCFILESALL)`; do \
- rm -f $(htmldocdir)/$$f; \
- $(INSTALL_DATA) $$f $(htmldocdir)/$$f; \
+ rm -f $(DESTDIR)$(htmldocdir)/$$f; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(htmldocdir)/$$f; \
done
- -test -d $(htmldocimagedir) || $(mkinstalldirs) $(htmldocimagedir)
- rm -f $(htmldocimagedir)/$(HTMLDOCIMAGEFILES)
- $(INSTALL_DATA) $(imagedir)/$(HTMLDOCIMAGEFILES) $(htmldocimagedir)
- -test -d $(exampledir) || $(mkinstalldirs) $(exampledir)
+ -test -d $(DESTDIR)$(htmldocimagedir) \
+ || $(mkinstalldirs) $(DESTDIR)$(htmldocimagedir)
+ rm -f $(DESTDIR)$(htmldocimagedir)/$(HTMLDOCIMAGEFILES)
+ $(INSTALL_DATA) $(imagedir)/$(HTMLDOCIMAGEFILES) \
+ $(DESTDIR)$(htmldocimagedir)
+ -test -d $(DESTDIR)$(exampledir) \
+ || $(mkinstalldirs) $(DESTDIR)$(exampledir)
for f in $(HTMLEXAMPLEFILES); do \
- rm -f $(exampledir)/$$f; \
- $(INSTALL_DATA) $$f $(exampledir)/$$f; \
+ rm -f $(DESTDIR)$(exampledir)/$$f; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(exampledir)/$$f; \
done
- -test -d $(exampleimagedir) || $(mkinstalldirs) $(exampleimagedir)
- rm -f $(exampleimagedir)/$(HTMLEXAMPLEIMAGEFILES)
- $(INSTALL_DATA) $(imagedir)/$(HTMLEXAMPLEIMAGEFILES) $(exampleimagedir)
+ -test -d $(DESTDIR)$(exampleimagedir) \
+ || $(mkinstalldirs) $(DESTDIR)$(exampleimagedir)
+ rm -f $(DESTDIR)$(exampleimagedir)/$(HTMLEXAMPLEIMAGEFILES)
+ $(INSTALL_DATA) $(imagedir)/$(HTMLEXAMPLEIMAGEFILES) \
+ $(DESTDIR)$(exampleimagedir)
uninstall_sub:
-for f in groff `ls groff-*`; do \
- rm -f $(infodir)/$$f; \
+ rm -f $(DESTDIR)$(infodir)/$$f; \
done
- $(INSTALL_INFO) --remove --info-dir=$(infodir) $(infodir)/groff.info
+ $(INSTALL_INFO) --remove --info-dir=$(DESTDIR)$(infodir) \
+ $(DESTDIR)$(infodir)/groff.info
-for f in $(DOCFILES) $(PROCESSEDDOCFILES); do \
- rm -f $(docdir)/$$f; \
+ rm -f $(DESTDIR)$(docdir)/$$f; \
done
-for f in `ls $(HTMLDOCFILESALL)`; do \
- rm -f $(htmldocdir)/$$f; \
+ rm -f $(DESTDIR)$(htmldocdir)/$$f; \
done
- -rm -f $(htmldocimagedir)/$(HTMLDOCIMAGEFILES)
- -rmdir $(htmldocimagedir)
- -for f in $(EXAMPLEFILES) $(PROCESSEDEXAMPLEFILES) $(HTMLEXAMPLEFILES);
do \
- rm -f $(exampledir)/$$f; \
+ -rm -f $(DESTDIR)$(htmldocimagedir)/$(HTMLDOCIMAGEFILES)
+ -rmdir $(DESTDIR)$(htmldocimagedir)
+ -for f in $(EXAMPLEFILES) $(PROCESSEDEXAMPLEFILES) \
+ $(HTMLEXAMPLEFILES); do \
+ rm -f $(DESTDIR)$(exampledir)/$$f; \
done
- -rm -f $(exampleimagedir)/$(HTMLEXAMPLEIMAGEFILES)
- -rmdir $(exampleimagedir)
+ -rm -f $(DESTDIR)$(exampleimagedir)/$(HTMLEXAMPLEIMAGEFILES)
+ -rmdir $(DESTDIR)$(exampleimagedir)
Index: groff/m4/groff.m4
diff -u groff/m4/groff.m4:1.1 groff/m4/groff.m4:1.2
--- groff/m4/groff.m4:1.1 Tue Jan 3 23:57:03 2006
+++ groff/m4/groff.m4 Sun Feb 26 14:03:25 2006
@@ -1,5 +1,5 @@
# Autoconf macros for groff.
-# Copyright (C) 1989-1995, 2001, 2002, 2003, 2004, 2005
+# Copyright (C) 1989-1995, 2001, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is part of groff.
@@ -1073,9 +1073,9 @@
# Set up the `--with-appresdir' command line option.
+# Don't quote AS_HELP_STRING!
AC_DEFUN([GROFF_APPRESDIR_OPTION],
[AC_ARG_WITH([appresdir],
- dnl Don't quote AS_HELP_STRING!
AS_HELP_STRING([--with-appresdir=DIR],
[X11 application resource files]))])
Index: groff/src/devices/xditview/Makefile.sub
diff -u groff/src/devices/xditview/Makefile.sub:1.4
groff/src/devices/xditview/Makefile.sub:1.5
--- groff/src/devices/xditview/Makefile.sub:1.4 Thu Nov 25 08:08:33 2004
+++ groff/src/devices/xditview/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -37,11 +37,14 @@
$(SHELL) $(srcdir)/ad2c $(srcdir)/GXditview.ad >GXditview-ad.h
install_data: $(srcdir)/GXditview.ad
- -test -d $(appresdir) || $(mkinstalldirs) $(appresdir)
- if test -f $(appresdir)/GXditview; then \
- mv $(appresdir)/GXditview $(appresdir)/GXditview.old; \
+ -test -d $(DESTDIR)$(appresdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(appresdir)
+ if test -f $(DESTDIR)$(appresdir)/GXditview; then \
+ mv $(DESTDIR)$(appresdir)/GXditview \
+ $(DESTDIR)$(appresdir)/GXditview.old; \
fi
- $(INSTALL_DATA) $(srcdir)/GXditview.ad $(appresdir)/GXditview
+ $(INSTALL_DATA) $(srcdir)/GXditview.ad \
+ $(DESTDIR)$(appresdir)/GXditview
uninstall_sub:
- -rm -f $(appresdir)/GXditview
+ -rm -f $(DESTDIR)$(appresdir)/GXditview
Index: groff/src/preproc/eqn/Makefile.sub
diff -u groff/src/preproc/eqn/Makefile.sub:1.14
groff/src/preproc/eqn/Makefile.sub:1.15
--- groff/src/preproc/eqn/Makefile.sub:1.14 Sat May 28 07:10:16 2005
+++ groff/src/preproc/eqn/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -53,8 +53,8 @@
chmod +x $@
install_data: neqn
- -rm -f $(bindir)/$(NAMEPREFIX)neqn
- $(INSTALL_SCRIPT) neqn $(bindir)/$(NAMEPREFIX)neqn
+ -rm -f $(DESTDIR)$(bindir)/$(NAMEPREFIX)neqn
+ $(INSTALL_SCRIPT) neqn $(DESTDIR)$(bindir)/$(NAMEPREFIX)neqn
uninstall_sub:
- -rm -f $(bindir)/$(NAMEPREFIX)neqn
+ -rm -f $(DESTDIR)$(bindir)/$(NAMEPREFIX)neqn
Index: groff/src/roff/grog/Makefile.sub
diff -u groff/src/roff/grog/Makefile.sub:1.8
groff/src/roff/grog/Makefile.sub:1.9
--- groff/src/roff/grog/Makefile.sub:1.8 Sat Jun 15 09:32:05 2002
+++ groff/src/roff/grog/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -24,9 +24,9 @@
chmod +x $@
install_data: grog
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/grog
- $(INSTALL_SCRIPT) grog $(bindir)/grog
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/grog
+ $(INSTALL_SCRIPT) grog $(DESTDIR)$(bindir)/grog
uninstall_sub:
- -rm -f $(bindir)/grog
+ -rm -f $(DESTDIR)$(bindir)/grog
Index: groff/src/roff/nroff/Makefile.sub
diff -u groff/src/roff/nroff/Makefile.sub:1.9
groff/src/roff/nroff/Makefile.sub:1.10
--- groff/src/roff/nroff/Makefile.sub:1.9 Wed Apr 7 17:46:00 2004
+++ groff/src/roff/nroff/Makefile.sub Sun Feb 26 14:03:25 2006
@@ -12,9 +12,9 @@
chmod +x $@
install_data: nroff
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/$(NAMEPREFIX)nroff
- $(INSTALL_SCRIPT) nroff $(bindir)/$(NAMEPREFIX)nroff
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/$(NAMEPREFIX)nroff
+ $(INSTALL_SCRIPT) nroff $(DESTDIR)$(bindir)/$(NAMEPREFIX)nroff
uninstall_sub:
- -rm -f $(bindir)/$(NAMEPREFIX)nroff
+ -rm -f $(DESTDIR)$(bindir)/$(NAMEPREFIX)nroff
Index: groff/src/utils/afmtodit/Makefile.sub
diff -u groff/src/utils/afmtodit/Makefile.sub:1.6
groff/src/utils/afmtodit/Makefile.sub:1.7
--- groff/src/utils/afmtodit/Makefile.sub:1.6 Fri Dec 9 18:12:30 2005
+++ groff/src/utils/afmtodit/Makefile.sub Sun Feb 26 14:03:26 2006
@@ -21,9 +21,9 @@
chmod +x afmtodit
install_data: afmtodit
- -test -d $(bindir) || $(mkinstalldirs) $(bindir)
- -rm -f $(bindir)/afmtodit
- $(INSTALL_SCRIPT) afmtodit $(bindir)/afmtodit
+ -test -d $(DESTDIR)$(bindir) || $(mkinstalldirs) $(DESTDIR)$(bindir)
+ -rm -f $(DESTDIR)$(bindir)/afmtodit
+ $(INSTALL_SCRIPT) afmtodit $(DESTDIR)$(bindir)/afmtodit
uninstall_sub:
- -rm -f $(bindir)/afmtodit
+ -rm -f $(DESTDIR)$(bindir)/afmtodit
Index: groff/src/utils/indxbib/Makefile.sub
diff -u groff/src/utils/indxbib/Makefile.sub:1.7
groff/src/utils/indxbib/Makefile.sub:1.8
--- groff/src/utils/indxbib/Makefile.sub:1.7 Thu Jun 3 06:24:29 2004
+++ groff/src/utils/indxbib/Makefile.sub Sun Feb 26 14:03:26 2006
@@ -12,18 +12,21 @@
NAMEPREFIX=$(g)
install_data: $(srcdir)/eign
- -test -d $(datadir) || $(mkinstalldirs) $(datadir)
- -test -d $(dataprogramdir) || $(mkinstalldirs) $(dataprogramdir)
- -test -d $(datasubdir) || $(mkinstalldirs) $(datasubdir)
+ -test -d $(DESTDIR)$(datadir) \
+ || $(mkinstalldirs) $(DESTDIR)$(datadir)
+ -test -d $(DESTDIR)$(dataprogramdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(dataprogramdir)
+ -test -d $(DESTDIR)$(datasubdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(datasubdir)
if test -f /usr/lib/eign; then \
- rm -f $(common_words_file); \
- ln -s /usr/lib/eign $(common_words_file) 2>/dev/null \
- || ln /usr/lib/eign $(common_words_file) 2>/dev/null \
- || cp /usr/lib/eign $(common_words_file); \
+ rm -f $(DESTDIR)$(common_words_file); \
+ ln -s /usr/lib/eign $(DESTDIR)$(common_words_file) 2>/dev/null \
+ || ln /usr/lib/eign $(DESTDIR)$(common_words_file) 2>/dev/null \
+ || cp /usr/lib/eign $(DESTDIR)$(common_words_file); \
else \
- rm -f $(common_words_file); \
- $(INSTALL_DATA) $(srcdir)/eign $(common_words_file); \
+ rm -f $(DESTDIR)$(common_words_file); \
+ $(INSTALL_DATA) $(srcdir)/eign $(DESTDIR)$(common_words_file); \
fi
uninstall_sub:
- -rm -f $(common_words_file)
+ -rm -f $(DESTDIR)$(common_words_file)
Index: groff/tmac/Makefile.sub
diff -u groff/tmac/Makefile.sub:1.36 groff/tmac/Makefile.sub:1.37
--- groff/tmac/Makefile.sub:1.36 Wed Aug 3 07:19:00 2005
+++ groff/tmac/Makefile.sub Sun Feb 26 14:03:26 2006
@@ -48,41 +48,47 @@
install_data: $(NORMALFILES) $(SPECIALFILES) man.local \
stamp-strip stamp-wrap stamp-sed
- -test -d $(tmacdir) || $(mkinstalldirs) $(tmacdir)
- -test -d $(systemtmacdir) || $(mkinstalldirs) $(systemtmacdir)
- -test -d $(localtmacdir) || $(mkinstalldirs) $(localtmacdir)
+ -test -d $(DESTDIR)$(tmacdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(tmacdir)
+ -test -d $(DESTDIR)$(systemtmacdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(systemtmacdir)
+ -test -d $(DESTDIR)$(localtmacdir) \
+ || $(mkinstalldirs) $(DESTDIR)$(localtmacdir)
if test -n "$(tmac_wrap)"; then \
for m in ""$(tmac_wrap); do \
- $(INSTALL_DATA) $$m-wrap $(systemtmacdir)/$$m.tmac; \
+ $(INSTALL_DATA) $$m-wrap $(DESTDIR)$(systemtmacdir)/$$m.tmac; \
done; \
fi
for f in $(NORMALFILES); do \
- rm -f $(tmacdir)/$$f; \
- $(INSTALL_DATA) $(srcdir)/$$f $(tmacdir)/$$f; \
+ rm -f $(DESTDIR)$(tmacdir)/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(tmacdir)/$$f; \
done
- -rm -f $(tmacdir)/$(tmac_s_prefix)s.tmac
- $(INSTALL_DATA) $(srcdir)/s.tmac $(tmacdir)/$(tmac_s_prefix)s.tmac
- -rm -f $(tmacdir)/ms.tmac
- $(INSTALL_DATA) ms.tmac-sed $(tmacdir)/ms.tmac
- -rm -f $(tmacdir)/$(tmac_an_prefix)an.tmac
- $(INSTALL_DATA) $(srcdir)/an.tmac $(tmacdir)/$(tmac_an_prefix)an.tmac
- -rm -f $(tmacdir)/man.tmac
- $(INSTALL_DATA) man.tmac-sed $(tmacdir)/man.tmac
- -rm -f $(tmacdir)/www.tmac
- $(INSTALL_DATA) www.tmac-sed $(tmacdir)/www.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/$(tmac_s_prefix)s.tmac
+ $(INSTALL_DATA) $(srcdir)/s.tmac \
+ $(DESTDIR)$(tmacdir)/$(tmac_s_prefix)s.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/ms.tmac
+ $(INSTALL_DATA) ms.tmac-sed $(DESTDIR)$(tmacdir)/ms.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/$(tmac_an_prefix)an.tmac
+ $(INSTALL_DATA) $(srcdir)/an.tmac \
+ $(DESTDIR)$(tmacdir)/$(tmac_an_prefix)an.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/man.tmac
+ $(INSTALL_DATA) man.tmac-sed $(DESTDIR)$(tmacdir)/man.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/www.tmac
+ $(INSTALL_DATA) www.tmac-sed $(DESTDIR)$(tmacdir)/www.tmac
for f in $(STRIPFILES); do \
- rm -f $(tmacdir)/$$f; \
- $(INSTALL_DATA) $$f-s $(tmacdir)/$$f; \
+ rm -f $(DESTDIR)$(tmacdir)/$$f; \
+ $(INSTALL_DATA) $$f-s $(DESTDIR)$(tmacdir)/$$f; \
done
- -test -d $(mdocdir) || $(mkinstalldirs) $(mdocdir)
+ -test -d $(DESTDIR)$(mdocdir) || $(mkinstalldirs) $(DESTDIR)$(mdocdir)
for f in $(MDOCFILES); do \
- rm -f $(mdocdir)/$$f; \
- $(INSTALL_DATA) $$f-s $(mdocdir)/$$f; \
+ rm -f $(DESTDIR)$(mdocdir)/$$f; \
+ $(INSTALL_DATA) $$f-s $(DESTDIR)$(mdocdir)/$$f; \
done
- -test -f $(localtmacdir)/man.local || \
- $(INSTALL_DATA) $(srcdir)/man.local $(localtmacdir)/man.local
- -test -f $(localtmacdir)/mdoc.local || \
- $(INSTALL_DATA) mdoc.local-s $(localtmacdir)/mdoc.local
+ -test -f $(DESTDIR)$(localtmacdir)/man.local || \
+ $(INSTALL_DATA) $(srcdir)/man.local \
+ $(DESTDIR)$(localtmacdir)/man.local
+ -test -f $(DESTDIR)$(localtmacdir)/mdoc.local || \
+ $(INSTALL_DATA) mdoc.local-s $(DESTDIR)$(localtmacdir)/mdoc.local
stamp-strip: $(STRIPFILES) $(MDOCFILES) mdoc.local
for f in $(STRIPFILES) $(MDOCFILES) mdoc.local; do \
@@ -117,21 +123,23 @@
uninstall_sub:
-if test -n "$(tmac_wrap)"; then \
for m in ""$(tmac_wrap); do \
- rm -f $(systemtmacdir)/$$m.tmac; \
+ rm -f $(DESTDIR)$(systemtmacdir)/$$m.tmac; \
done; \
fi
-for f in $(NORMALFILES) $(STRIPFILES); do \
- rm -f $(tmacdir)/$$f; \
+ rm -f $(DESTDIR)$(tmacdir)/$$f; \
done
- -rm -f $(tmacdir)/$(tmac_s_prefix)s.tmac
- -rm -f $(tmacdir)/$(tmac_an_prefix)an.tmac
- -rm -f $(tmacdir)/man.tmac $(tmacdir)/ms.tmac
- -rm -f $(tmacdir)/www.tmac
- -if cmp -s $(localtmacdir)/man.local $(srcdir)/man.local; then \
- rm -f $(localtmacdir)/man.local; \
+ -rm -f $(DESTDIR)$(tmacdir)/$(tmac_s_prefix)s.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/$(tmac_an_prefix)an.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/man.tmac $(DESTDIR)$(tmacdir)/ms.tmac
+ -rm -f $(DESTDIR)$(tmacdir)/www.tmac
+ -if cmp -s $(DESTDIR)$(localtmacdir)/man.local \
+ $(srcdir)/man.local; then \
+ rm -f $(DESTDIR)$(localtmacdir)/man.local; \
fi
- -if cmp -s $(localtmacdir)/mdoc.local $(srcdir)/mdoc.local; then \
- rm -f $(localtmacdir)/mdoc.local; \
+ -if cmp -s $(DESTDIR)$(localtmacdir)/mdoc.local \
+ $(srcdir)/mdoc.local; then \
+ rm -f $(DESTDIR)$(localtmacdir)/mdoc.local; \
fi
- -for f in $(MDOCFILES); do rm -f $(mdocdir)/$$f; done
- -rmdir $(mdocdir)
+ -for f in $(MDOCFILES); do rm -f $(DESTDIR)$(mdocdir)/$$f; done
+ -rmdir $(DESTDIR)$(mdocdir)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ./ChangeLog ./Makefile.comm ./Makefile.in...,
Werner LEMBERG <=