aboutsummaryrefslogtreecommitdiffstats
path: root/g10/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'g10/Makefile.am')
-rw-r--r--g10/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/g10/Makefile.am b/g10/Makefile.am
index bb939c933..22e08f27b 100644
--- a/g10/Makefile.am
+++ b/g10/Makefile.am
@@ -82,11 +82,12 @@ $(PROGRAMS): $(needed_libs)
install-data-local:
- $(mkinstalldirs) $(pkgdatadir)
- $(INSTALL_DATA) $(srcdir)/options.skel $(pkgdatadir)/options.skel
+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
+ $(INSTALL_DATA) $(srcdir)/options.skel \
+ $(DESTDIR)$(pkgdatadir)/options.skel
@set -e;\
- if test -f $(bindir)/gpgm ; then
+ if test -f $(DESTDIR)$(bindir)/gpgm ; then
echo "removing obsolete gpgm binary"
- rm $(bindir)/gpgm ;
+ rm $(DESTDIR)$(bindir)/gpgm ;
fi