diff options
author | Tom Tromey <tromey@redhat.com> | 1998-03-20 20:09:08 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1998-03-20 20:09:08 +0000 |
commit | 660081d8f479b989d62bb256c09cb2c786d0fb1e (patch) | |
tree | 035196169689e5b2072e8bd1f8c4b09884aa0517 /lib/am/java.am | |
parent | 884d498049b1c004ca69e9560e02ad8f47db4371 (diff) | |
download | automake-660081d8f479b989d62bb256c09cb2c786d0fb1e.tar.gz |
added DESTDIR support
Diffstat (limited to 'lib/am/java.am')
-rw-r--r-- | lib/am/java.am | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/am/java.am b/lib/am/java.am index 801107224..b72cdc278 100644 --- a/lib/am/java.am +++ b/lib/am/java.am @@ -17,17 +17,17 @@ ## 02111-1307, USA. install-@DIR@JAVA: class@DIR@.stamp @$(NORMAL_INSTALL) - $(mkinstalldirs) $(@DIR@dir) + $(mkinstalldirs) $(DESTDIR)$(@DIR@dir) ## A single .java file can be compiled into multiple .class files. So ## we just install all the .class files that got built into this ## directory. This is not optimal, but will have to do for now. for p in *.class; do \ - echo " $(INSTALL_DATA) $$p $(@DIR@dir)/$$p"; \ - $(INSTALL_DATA) $$p $(@DIR@dir)/$$p; \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p; \ done uninstall-@DIR@JAVA: @$(NORMAL_UNINSTALL) for p in *.class; do \ - rm -f $(@DIR@dir)/$$p; \ + rm -f $(DESTDIR)$(@DIR@dir)/$$p; \ done |