summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/numdiff')
-rw-r--r--dev-util/numdiff/files/numdiff-5.9.0-fix-build-system.patch353
1 files changed, 15 insertions, 338 deletions
diff --git a/dev-util/numdiff/files/numdiff-5.9.0-fix-build-system.patch b/dev-util/numdiff/files/numdiff-5.9.0-fix-build-system.patch
index 41bdd5a90644..5bbeba5f8f9d 100644
--- a/dev-util/numdiff/files/numdiff-5.9.0-fix-build-system.patch
+++ b/dev-util/numdiff/files/numdiff-5.9.0-fix-build-system.patch
@@ -1,11 +1,3 @@
-Fix build system
-* Replace ancient AC_CONFIG_HEADER macro
-* Do not install COPYING and INSTALL files
-* Do not install empty localedir if nls is disabled
-* Allow Automake-style overriding of installation dirs
-* Install man files in proper man1 dir
-* Avoid using PACKAGE, as PACKAGE is an Autoconf-reserved variable
-
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,7 @@
@@ -27,17 +19,6 @@ Fix build system
, enable_gmp=yes)
--- a/Makefile.in
+++ b/Makefile.in
-@@ -8,8 +8,8 @@
- #
- # @configure_input@
-
--PACKAGE=numdiff
--PACKAGETWO=ndselect
-+PACKAGE_ONE=numdiff
-+PACKAGE_TWO=ndselect
- VERSION=5.9.0
-
- SHELL=/bin/sh
@@ -19,18 +19,18 @@
prefix =@prefix@
exec_prefix =@exec_prefix@
@@ -70,7 +51,7 @@ Fix build system
# flags for the preprocessor:
-CPPFLAGS =-DPACKAGE="\"$(PACKAGE)\"" -DPACKAGE2="\"$(PACKAGETWO)\"" -DLOCALEDIR="\"$(LOCALEDIR)\"" -I$(srcdir) -I. @CPPFLAGS@
-+CPPFLAGS =-DPACKAGE="\"$(PACKAGE_ONE)\"" -DPACKAGE2="\"$(PACKAGE_TWO)\"" -DLOCALEDIR="\"$(localedir)\"" -I$(srcdir) -I. @CPPFLAGS@
++CPPFLAGS =-DPACKAGE="\"$(PACKAGE)\"" -DPACKAGE2="\"$(PACKAGETWO)\"" -DLOCALEDIR="\"$(localedir)\"" -I$(srcdir) -I. @CPPFLAGS@
# flags for the C compiler:
CFLAGS =@CFLAGS@
@@ -83,125 +64,16 @@ Fix build system
TEXISRC=$(srcdir)/docs/numdiff.txi
FDLTEXI=$(srcdir)/docs/fdl.texi
HTMLFILE=$(srcdir)/docs/numdiff.html
-@@ -87,22 +87,22 @@
- PDFFILE=$(srcdir)/docs/numdiff.pdf
- TXTFILE=$(srcdir)/docs/numdiff.txt
- # l10n files
--PACKAGE_POT=$(srcdir)/po/$(PACKAGE)/$(PACKAGE).pot
--PACKAGETWO_POT=$(srcdir)/po/$(PACKAGETWO)/$(PACKAGETWO).pot
--PACKAGE_IT=$(srcdir)/po/$(PACKAGE)/it
--PACKAGETWO_IT=$(srcdir)/po/$(PACKAGETWO)/it
+@@ -91,7 +91,7 @@
+ PACKAGETWO_POT=$(srcdir)/po/$(PACKAGETWO)/$(PACKAGETWO).pot
+ PACKAGE_IT=$(srcdir)/po/$(PACKAGE)/it
+ PACKAGETWO_IT=$(srcdir)/po/$(PACKAGETWO)/it
-IT_LOC_DIR="$(DESTDIR)$(LOCALEDIR)/it/LC_MESSAGES"
-+PACKAGE_ONE_POT=$(srcdir)/po/$(PACKAGE_ONE)/$(PACKAGE_ONE).pot
-+PACKAGE_TWO_POT=$(srcdir)/po/$(PACKAGE_TWO)/$(PACKAGE_TWO).pot
-+PACKAGE_ONE_IT=$(srcdir)/po/$(PACKAGE_ONE)/it
-+PACKAGE_TWO_IT=$(srcdir)/po/$(PACKAGE_TWO)/it
+IT_LOC_DIR="$(DESTDIR)$(localedir)/it/LC_MESSAGES"
GARBAGE=./numdiff.aux ./numdiff.cp ./numdiff.cps ./numdiff.fn ./numdiff.ky ./numdiff.log ./numdiff.pg ./numdiff.toc ./numdiff.tp ./numdiff.vr ./config.log ./config.status ./config.h.in.save ./config.h
- # Rules to build the executable programs
-
--all: $(PACKAGE) $(PACKAGETWO)
-+all: $(PACKAGE_ONE) $(PACKAGE_TWO)
-
--$(PACKAGE): $(OBJECTS)
-+$(PACKAGE_ONE): $(OBJECTS)
- $(CC) $(OBJECTSONE) -o $@ $(LDFLAGS) $(LIBS)
-
--$(PACKAGETWO): $(OBJECTS)
-+$(PACKAGE_TWO): $(OBJECTS)
- $(CC) $(OBJECTSTWO) -o $@ $(LDFLAGS) $(LIBS)
-
- # Rules to build the documentation. The documentation
-@@ -111,10 +111,10 @@
- man: $(MANFILE) $(MANFILETWO)
-
- $(MANFILE):
-- $(HELP2MAN) -n "compare similar files with numeric fields" -p $(PACKAGE) $(PACKAGE) > $(MANFILE)
-+ $(HELP2MAN) -n "compare similar files with numeric fields" -p $(PACKAGE_ONE) $(PACKAGE_ONE) > $(MANFILE)
-
- $(MANFILETWO):
-- $(HELP2MAN) -n "select lines and fields for numdiff" -p $(PACKAGE) $(PACKAGETWO) > $(MANFILETWO)
-+ $(HELP2MAN) -n "select lines and fields for numdiff" -p $(PACKAGE_ONE) $(PACKAGE_TWO) > $(MANFILETWO)
-
- info: $(INFOFILE).gz
-
-@@ -142,106 +142,119 @@
- # Rules to create PO template files. They should be used
- # only by the maintainer of the package.
-
--pot: $(PACKAGE_POT) $(PACKAGETWO_POT)
-+pot: $(PACKAGE_ONE_POT) $(PACKAGE_TWO_POT)
-
--$(PACKAGE_POT): $(SOURCESONE)
-+$(PACKAGE_ONE_POT): $(SOURCESONE)
- @echo 'This command is intended for maintainers to use; it'
- @echo 'requires special tools to work.'
-- $(XGETTEXT) --package-name=$(PACKAGE) \
-+ $(XGETTEXT) --package-name=$(PACKAGE_ONE) \
- --package-version=$(VERSION) \
-- -o $(PACKAGE_POT) $(SOURCESONE) *.h
-+ -o $(PACKAGE_ONE_POT) $(SOURCESONE) *.h
-
--$(PACKAGETWO_POT): $(SOURCESTWO)
-+$(PACKAGE_TWO_POT): $(SOURCESTWO)
- @echo 'This command is intended for maintainers to use; it'
- @echo 'requires special tools to work.'
-- $(XGETTEXT) --package-name=$(PACKAGETWO) \
-+ $(XGETTEXT) --package-name=$(PACKAGE_TWO) \
- --package-version=$(VERSION) \
-- -o $(PACKAGETWO_POT) $(SOURCESTWO) *.h
-+ -o $(PACKAGE_TWO_POT) $(SOURCESTWO) *.h
-
--po: $(PACKAGE_IT).po $(PACKAGETWO_IT).po
-+po: $(PACKAGE_ONE_IT).po $(PACKAGE_TWO_IT).po
-
--$(PACKAGE_IT).po: $(PACKAGE_POT)
-+$(PACKAGE_ONE_IT).po: $(PACKAGE_ONE_POT)
- @echo 'This command is intended for maintainers to use; it'
- @echo 'requires special tools to work.'
-- if $(SHELL) -c "$(LS) $(PACKAGE_IT).po" \
-+ if $(SHELL) -c "$(LS) $(PACKAGE_ONE_IT).po" \
- >/dev/null 2>&1; then \
-- $(MSGMERGE) $(PACKAGE_IT).po $(PACKAGE_POT) -o $(PACKAGE_IT).po.new; \
-- $(MOVE) $(PACKAGE_IT).po.new $(PACKAGE_IT).po; \
-- else $(CP) $(PACKAGE_POT) $(PACKAGE_IT).po; fi
-+ $(MSGMERGE) $(PACKAGE_ONE_IT).po $(PACKAGE_ONE_POT) -o $(PACKAGE_ONE_IT).po.new; \
-+ $(MOVE) $(PACKAGE_ONE_IT).po.new $(PACKAGE_ONE_IT).po; \
-+ else $(CP) $(PACKAGE_ONE_POT) $(PACKAGE_ONE_IT).po; fi
-
--$(PACKAGETWO_IT).po: $(PACKAGETWO_POT)
-+$(PACKAGE_TWO_IT).po: $(PACKAGE_TWO_POT)
- @echo 'This command is intended for maintainers to use; it'
- @echo 'requires special tools to work.'
-- if $(SHELL) -c "$(LS) $(PACKAGETWO_IT).po" \
-+ if $(SHELL) -c "$(LS) $(PACKAGE_TWO_IT).po" \
- >/dev/null 2>&1; then \
-- $(MSGMERGE) $(PACKAGETWO_IT).po $(PACKAGETWO_POT) -o $(PACKAGETWO_IT).po.new; \
-- $(MOVE) $(PACKAGETWO_IT).po.new $(PACKAGETWO_IT).po; \
-- else $(CP) $(PACKAGETWO_POT) $(PACKAGETWO_IT).po; fi
-+ $(MSGMERGE) $(PACKAGE_TWO_IT).po $(PACKAGE_TWO_POT) -o $(PACKAGE_TWO_IT).po.new; \
-+ $(MOVE) $(PACKAGE_TWO_IT).po.new $(PACKAGE_TWO_IT).po; \
-+ else $(CP) $(PACKAGE_TWO_POT) $(PACKAGE_TWO_IT).po; fi
-
- # Rules to build the l10n files. They
- # must be built in $(srcdir)/po/numdiff (for numdiff) and
- # in $(srcdir)/po/ndselect (for ndselect).
-
--mo: $(PACKAGE_IT).mo $(PACKAGETWO_IT).mo
-+mo: $(PACKAGE_ONE_IT).mo $(PACKAGE_TWO_IT).mo
-
--$(PACKAGE_IT).mo: $(PACKAGE_IT).po
-- $(MSGFMT) $(PACKAGE_IT).po -o $(PACKAGE_IT).mo
-+$(PACKAGE_ONE_IT).mo: $(PACKAGE_ONE_IT).po
-+ $(MSGFMT) $(PACKAGE_ONE_IT).po -o $(PACKAGE_ONE_IT).mo
-
--$(PACKAGETWO_IT).mo: $(PACKAGETWO_IT).po
-- $(MSGFMT) $(PACKAGETWO_IT).po -o $(PACKAGETWO_IT).mo
-+$(PACKAGE_TWO_IT).mo: $(PACKAGE_TWO_IT).po
-+ $(MSGFMT) $(PACKAGE_TWO_IT).po -o $(PACKAGE_TWO_IT).mo
-
+@@ -193,48 +193,61 @@
# Rules needed by the installation process.
installdirs: all
@@ -234,7 +106,7 @@ Fix build system
+opt_targets = install-nls
+endif
+install: installdirs html info pdf txt $(opt_targets)
-+ $(INSTALL_PROGRAM) $(PACKAGE_ONE) $(PACKAGE_TWO) "$(DESTDIR)$(bindir)"
++ $(INSTALL_PROGRAM) $(PACKAGE) $(PACKAGETWO) "$(DESTDIR)$(bindir)"
+ $(INSTALL_DATA) $(DOCS) "$(DESTDIR)$(docdir)"
+ $(INSTALL_DATA) $(MANFILE) "$(DESTDIR)$(man1dir)"
+ $(INSTALL_DATA) $(MANFILETWO) "$(DESTDIR)$(man1dir)"
@@ -253,11 +125,9 @@ Fix build system
else true; fi
-install-nls: install
-- $(INSTALL_DATA) $(PACKAGE_IT).mo $(IT_LOC_DIR)/$(PACKAGE).mo
-- $(INSTALL_DATA) $(PACKAGETWO_IT).mo $(IT_LOC_DIR)/$(PACKAGETWO).mo
+install-nls: installdirs
-+ $(INSTALL_DATA) $(PACKAGE_ONE_IT).mo $(IT_LOC_DIR)/$(PACKAGE_ONE).mo
-+ $(INSTALL_DATA) $(PACKAGE_TWO_IT).mo $(IT_LOC_DIR)/$(PACKAGE_TWO).mo
+ $(INSTALL_DATA) $(PACKAGE_IT).mo $(IT_LOC_DIR)/$(PACKAGE).mo
+ $(INSTALL_DATA) $(PACKAGETWO_IT).mo $(IT_LOC_DIR)/$(PACKAGETWO).mo
# Rules needed to removed the installed stuff
@@ -271,8 +141,8 @@ Fix build system
- $(RM) "$(DESTDIR)$(INFODIR)/numdiff.info"
- $(RM) "$(DESTDIR)$(MANDIR)/$(PACKAGE).1"
- $(RM) "$(DESTDIR)$(MANDIR)/$(PACKAGETWO).1"
-+ $(RM) "$(DESTDIR)$(bindir)/$(PACKAGE_ONE)"
-+ $(RM) "$(DESTDIR)$(bindir)/$(PACKAGE_TWO)"
++ $(RM) "$(DESTDIR)$(bindir)/$(PACKAGE)"
++ $(RM) "$(DESTDIR)$(bindir)/$(PACKAGETWO)"
+ $(RM) "$(DESTDIR)$(docdir)"/*
+ $(RMDIR) "$(DESTDIR)$(docdir)"
+ $(RM) "$(DESTDIR)$(htmldir)"/*
@@ -282,208 +152,15 @@ Fix build system
+ $(INSTINFO) --delete "$(DESTDIR)$(infodir)/numdiff.info" "$(DESTDIR)$(infodir)/dir"
+ $(RM) "$(DESTDIR)$(infodir)/numdiff.info.gz"
+ $(RM) "$(DESTDIR)$(infodir)/numdiff.info"
-+ $(RM) "$(DESTDIR)$(man1dir)/$(PACKAGE_ONE).1"
-+ $(RM) "$(DESTDIR)$(man1dir)/$(PACKAGE_TWO).1"
++ $(RM) "$(DESTDIR)$(man1dir)/$(PACKAGE).1"
++ $(RM) "$(DESTDIR)$(man1dir)/$(PACKAGETWO).1"
+ $(RMDIR) "$(DESTDIR)$(mandir)"
uninstall-nls: uninstall
- $(FIND) "$(DESTDIR)$(LOCALEDIR)" -name '$(PACKAGE).mo' -exec $(RM) \{\} \;
- $(FIND) "$(DESTDIR)$(LOCALEDIR)" -name '$(PACKAGETWO).mo' -exec $(RM) \{\} \;
-+ $(FIND) "$(DESTDIR)$(localedir)" -name '$(PACKAGE_ONE).mo' -exec $(RM) \{\} \;
-+ $(FIND) "$(DESTDIR)$(localedir)" -name '$(PACKAGE_TWO).mo' -exec $(RM) \{\} \;
++ $(FIND) "$(DESTDIR)$(localedir)" -name '$(PACKAGE).mo' -exec $(RM) \{\} \;
++ $(FIND) "$(DESTDIR)$(localedir)" -name '$(PACKAGETWO).mo' -exec $(RM) \{\} \;
# Cleaning rules
- clean:
- $(RM) $(OBJECTS)
-- $(RM) $(PACKAGE)
-- $(RM) $(PACKAGETWO)
-+ $(RM) $(PACKAGE_ONE)
-+ $(RM) $(PACKAGE_TWO)
-
- distclean: clean
- $(RM) $(GARBAGE)
-@@ -256,99 +269,99 @@
- $(RM) $(MANFILETWO)
- $(RM) $(PDFFILE)
- $(RM) $(TXTFILE)
-- $(RM) $(PACKAGE_POT)
-- $(RM) $(PACKAGETWO_POT)
-- $(RM) $(PACKAGE_IT).mo
-- $(RM) $(PACKAGETWO_IT).mo
-+ $(RM) $(PACKAGE_ONE_POT)
-+ $(RM) $(PACKAGE_TWO_POT)
-+ $(RM) $(PACKAGE_ONE_IT).mo
-+ $(RM) $(PACKAGE_TWO_IT).mo
-
- # To make a distribution tarball
-
- createdirs:
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)/RCS
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)/m4
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)/po
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGE)
-- $(DIST_MKDIR) $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGETWO)
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/RCS
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/m4
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_ONE)
-+ $(DIST_MKDIR) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_TWO)
-
- copy: createdirs
-- $(CP) $(DOCS) $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/Makefile.in $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/aclocal.m4 $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/config.h.in $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/configure.ac $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/configure $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(TEXISRC) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(FDLTEXI) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(HTMLFILE) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(INFOFILE) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(INFOFILE).gz $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(MANFILE) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(MANFILETWO) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(PDFFILE) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(TXTFILE) $(srcdir)/$(PACKAGE)-$(VERSION)/docs
-- $(CP) $(srcdir)/analyze.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/arith.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/bitvector.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/cmpbuf.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/cmpfns.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/error.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/errors.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/exitfail.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/flags.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/getopt.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/getopt1.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/inout.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/io.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/linesplit.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/main.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/ndselect.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/new.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/number.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/numutil.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/options.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/read_line.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/setmode.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/side.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/thrlist.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/util.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/xalloc-die.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/xmalloc.c $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/bitvector.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/cmpbuf.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/error.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/exitfail.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/getopt.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/getopt_int.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/gettext.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/linesplit.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/ndselect.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/number.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/numdiff.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/setmode.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/system.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/unlocked-io.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/xalloc.h $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/shtool $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(CP) $(srcdir)/m4/setmode.m4 $(srcdir)/$(PACKAGE)-$(VERSION)/m4
-- $(CP) $(srcdir)/m4/st_mtim.m4 $(srcdir)/$(PACKAGE)-$(VERSION)/m4
-- $(CP) $(PACKAGE_POT) $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGE)
-- $(CP) $(PACKAGE_IT).po $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGE)
-- $(CP) $(PACKAGE_IT).mo $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGE)
-- $(CP) $(PACKAGETWO_POT) $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGETWO)
-- $(CP) $(PACKAGETWO_IT).po $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGETWO)
-- $(CP) $(PACKAGETWO_IT).mo $(srcdir)/$(PACKAGE)-$(VERSION)/po/$(PACKAGETWO)
-+ $(CP) $(DOCS) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/Makefile.in $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/aclocal.m4 $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/config.h.in $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/configure.ac $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/configure $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(TEXISRC) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(FDLTEXI) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(HTMLFILE) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(INFOFILE) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(INFOFILE).gz $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(MANFILE) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(MANFILETWO) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(PDFFILE) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(TXTFILE) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/docs
-+ $(CP) $(srcdir)/analyze.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/arith.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/bitvector.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/cmpbuf.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/cmpfns.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/error.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/errors.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/exitfail.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/flags.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/getopt.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/getopt1.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/inout.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/io.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/linesplit.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/main.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/ndselect.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/new.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/number.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/numutil.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/options.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/read_line.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/setmode.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/side.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/thrlist.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/util.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/xalloc-die.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/xmalloc.c $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/bitvector.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/cmpbuf.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/error.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/exitfail.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/getopt.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/getopt_int.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/gettext.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/linesplit.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/ndselect.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/number.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/numdiff.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/setmode.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/system.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/unlocked-io.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/xalloc.h $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/shtool $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(CP) $(srcdir)/m4/setmode.m4 $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/m4
-+ $(CP) $(srcdir)/m4/st_mtim.m4 $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/m4
-+ $(CP) $(PACKAGE_ONE_POT) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_ONE)
-+ $(CP) $(PACKAGE_ONE_IT).po $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_ONE)
-+ $(CP) $(PACKAGE_ONE_IT).mo $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_ONE)
-+ $(CP) $(PACKAGE_TWO_POT) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_TWO)
-+ $(CP) $(PACKAGE_TWO_IT).po $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_TWO)
-+ $(CP) $(PACKAGE_TWO_IT).mo $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/po/$(PACKAGE_TWO)
-
- dist: copy
-- $(TAR) cvf $(srcdir)/$(PACKAGE)-$(VERSION).tar $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(GZIP) $(srcdir)/$(PACKAGE)-$(VERSION).tar
-- $(RD) $(srcdir)/$(PACKAGE)-$(VERSION)
-+ $(TAR) cvf $(srcdir)/$(PACKAGE_ONE)-$(VERSION).tar $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(GZIP) $(srcdir)/$(PACKAGE_ONE)-$(VERSION).tar
-+ $(RD) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-
- # To make a backup tarball
-
- tarball: copy
-- $(CP) $(srcdir)/RCS/* $(srcdir)/$(PACKAGE)-$(VERSION)/RCS
-- $(TAR) cvf $(srcdir)/$(PACKAGE)-$(VERSION).tar $(srcdir)/$(PACKAGE)-$(VERSION)
-- $(GZIP) $(srcdir)/$(PACKAGE)-$(VERSION).tar
-- $(RD) $(srcdir)/$(PACKAGE)-$(VERSION)
-+ $(CP) $(srcdir)/RCS/* $(srcdir)/$(PACKAGE_ONE)-$(VERSION)/RCS
-+ $(TAR) cvf $(srcdir)/$(PACKAGE_ONE)-$(VERSION).tar $(srcdir)/$(PACKAGE_ONE)-$(VERSION)
-+ $(GZIP) $(srcdir)/$(PACKAGE_ONE)-$(VERSION).tar
-+ $(RD) $(srcdir)/$(PACKAGE_ONE)-$(VERSION)