Make-lang.in (treelang.install.common.done, [...]): Prepend $(DESTDIR) to destination paths in all (un)installation commands.

2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Make-lang.in (treelang.install.common.done,
	treelang.install-info, treelang.uninstall): Prepend
	$(DESTDIR) to destination paths in all (un)installation
	commands.

From-SVN: r61080
This commit is contained in:
Christian Cornelssen 2003-01-09 09:05:30 +01:00 committed by Andreas Jaeger
parent 2c6ce97ed1
commit 17b4fdbff2
2 changed files with 16 additions and 9 deletions

View File

@ -1,3 +1,10 @@
2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* Make-lang.in (treelang.install.common.done,
treelang.install-info, treelang.uninstall): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands.
2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk>
* treelang.texi: Use @copying.

View File

@ -167,10 +167,10 @@ treelang.install.common.done: installdirs treelang.done
do \
if [ -f $$name ] ; then \
name2="`echo \`basename $$name\` | sed -e '$(program_transform_name)' `"; \
rm -f $(bindir)/$$name2$(exeext); \
echo $(INSTALL_PROGRAM) $$name$(exeext) $(bindir)/$$name2$(exeext); \
$(INSTALL_PROGRAM) $$name$(exeext) $(bindir)/$$name2$(exeext); \
chmod a+x $(bindir)/$$name2$(exeext); \
rm -f $(DESTDIR)$(bindir)/$$name2$(exeext); \
echo $(INSTALL_PROGRAM) $$name$(exeext) $(DESTDIR)$(bindir)/$$name2$(exeext); \
$(INSTALL_PROGRAM) $$name$(exeext) $(DESTDIR)$(bindir)/$$name2$(exeext); \
chmod a+x $(DESTDIR)$(bindir)/$$name2$(exeext); \
fi ; \
done
$(STAMP) treelang.install.common.done
@ -180,9 +180,9 @@ treelang.install-info: $(srcdir)/treelang/treelang.info
do \
if [ -f $$name ] ; then \
name2="`echo \`basename $$name\` | sed -e '$(program_transform_name)' `"; \
rm -f $(libsubdir)/$$name2$(exeext); \
$(INSTALL_PROGRAM) $$name$(exeext) $(libsubdir)/$$name2$(exeext); \
chmod a+x $(libsubdir)/$$name2$(exeext); \
rm -f $(DESTDIR)$(libsubdir)/$$name2$(exeext); \
$(INSTALL_PROGRAM) $$name$(exeext) $(DESTDIR)$(libsubdir)/$$name2$(exeext); \
chmod a+x $(DESTDIR)$(libsubdir)/$$name2$(exeext); \
fi ; \
done
@ -194,8 +194,8 @@ treelang.uninstall:
echo $$name; \
name2="`echo $$name | sed -e '$(program_transform_name)' `"; \
echo becomes $$name2; \
echo -rm -rf $(bindir)/$$name2$(exeext); \
rm -rf $(bindir)/$$name2$(exeext); \
echo -rm -rf $(DESTDIR)$(bindir)/$$name2$(exeext); \
rm -rf $(DESTDIR)$(bindir)/$$name2$(exeext); \
done
-rm treelang.install.common.done