Further makefile cleanups.
- don't use wildcards in EXTRA_DIST - additional -local uninstall and distclean targets to clean up what the make did
This commit is contained in:
parent
7b6ef059a2
commit
f40d7401a5
14
Makefile.am
14
Makefile.am
|
@ -5,9 +5,8 @@ AUTOMAKE_OPTIONS = 1.4 foreign
|
|||
LINT = splint
|
||||
|
||||
EXTRA_DIST = CHANGES ChangeLog CREDITS Doxyheader GROUPS INSTALL \
|
||||
autodeps/none autodeps/*.prov autodeps/*.req autogen.sh \
|
||||
autodeps autogen.sh \
|
||||
config.site db db3/configure installplatform platform* \
|
||||
po/*.in po/*.po po/rpm.pot \
|
||||
rpm.magic rpmpopt-$(VERSION) rpmqv.c
|
||||
|
||||
SUBDIRS = po misc @WITH_ZLIB_SUBDIR@ @WITH_ELFUTILS_SUBDIR@ @WITH_MAGIC_SUBDIR@ @WITH_DB_SUBDIR@ @WITH_SQLITE3_SUBDIR@ @WITH_POPT_SUBDIR@ @WITH_BEECRYPT_SUBDIR@ @WITH_NEON_SUBDIR@ lua rpmio rpmdb lib build @WITH_PYTHON_SUBDIR@ tools scripts doc .
|
||||
|
@ -185,6 +184,15 @@ install-data-local:
|
|||
esac
|
||||
@$(mkinstalldirs) $(DESTDIR)/var/tmp
|
||||
|
||||
# XXX to appease distcheck we need to remove "stuff" here...
|
||||
uninstall-local:
|
||||
@rm -rf $(DESTDIR)/$(pkglibdir)/*-*
|
||||
|
||||
distclean-local:
|
||||
@rm -rf Doxytags apidocs
|
||||
@rm -f stamp-h.in db3/*.orig db3/db3lobjs
|
||||
@rm -f ChangeLog rpmpopt-$(VERSION)
|
||||
|
||||
.PHONY: setperms
|
||||
setperms:
|
||||
@for f in $(rpmbin_PROGRAMS) ; do\
|
||||
|
@ -244,3 +252,5 @@ cref: ctags cscope
|
|||
.PHONY: ChangeLog
|
||||
ChangeLog:
|
||||
hg log -v > ChangeLog
|
||||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
|
|
@ -14,14 +14,16 @@ EXTRA_DIST = \
|
|||
find-debuginfo.sh find-lang.sh find-prov.pl find-req.pl \
|
||||
cpanflute cpanflute2 Specfile.pm find-provides.perl \
|
||||
find-requires.perl freshen.sh get_magic.pl getpo.sh http.req \
|
||||
libtool.*.sh pkgconfig.*.sh \
|
||||
libtool.prov.sh libtool.req.sh pkgconfig.prov.sh pkgconfig.req.sh \
|
||||
magic.prov magic.req perldeps.pl perl.prov perl.req pythondeps.sh \
|
||||
rpmdb_loadcvt rpmdiff rpmdiff.cgi \
|
||||
rpm.daily rpm.log rpm.xinetd rpm2cpio.sh \
|
||||
sql.prov sql.req tcl.req tgpg trpm u_pkg.sh \
|
||||
vpkg-provides.sh vpkg-provides2.sh \
|
||||
macros.perl* macros.python* \
|
||||
macros.php* find-*.php find-php-* mono-find*
|
||||
macros.perl.in macros.python.in \
|
||||
macros.php.in find-requires.php find-provides.php \
|
||||
find-php-provides find-php-requires \
|
||||
mono-find-requires mono-find-provides
|
||||
|
||||
installprefix = $(DESTDIR)
|
||||
|
||||
|
|
Loading…
Reference in New Issue