1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00

* Makefile.am: Install options.skel via dist_pkgdata_DATA so that

"make uninstall" works properly.
This commit is contained in:
David Shaw 2006-12-13 21:41:37 +00:00
parent db8b1120a1
commit ea5397943a
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2006-12-13 David Shaw <dshaw@jabberwocky.com>
* Makefile.am: Install options.skel via dist_pkgdata_DATA so that
"make uninstall" works properly.
2006-12-13 Werner Koch <wk@g10code.com>
* gpgv.c, gpg.c: Do not include the now removed g10defs.h file.

View File

@ -21,7 +21,6 @@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/intl @LIBUSB_CPPFLAGS@
EXTRA_DIST = options.skel
# it seems that we can't use this with automake 1.5
#OMIT_DEPENDENCIES = zlib.h zconf.h
@ -36,6 +35,7 @@ needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
other_libs = $(LIBICONV) $(DNSLIBS) $(LIBINTL) $(CAPLIBS)
bin_PROGRAMS = gpg gpgv
dist_pkgdata_DATA = options.skel
if ENABLE_BZIP2_SUPPORT
bzip2_source = compress-bz2.c
@ -133,10 +133,7 @@ gpg_LDADD = $(LDADD) @DLLIBS@ @NETLIBS@ @LIBUSB@
$(PROGRAMS): $(needed_libs)
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
$(INSTALL_DATA) $(srcdir)/options.skel \
$(DESTDIR)$(pkgdatadir)/options.skel
install-exec-hook:
@set -e;\
if test -f $(DESTDIR)$(bindir)/gpgm ; then \
echo "removing obsolete gpgm binary" ; \