mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Add uninstall-local rules to make distcheck happy.
Also remove generated FAQ.txt in docs distclean-local rule. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13950
This commit is contained in:
parent
fbd9fe855d
commit
895f25f4a2
@ -58,6 +58,14 @@ install-noinst_PROGRAMS: $(noinst_PROGRAMS)
|
||||
$(INSTALL_PROGRAM) $$f $(DESTDIR)$(pkglibdir); \
|
||||
done
|
||||
|
||||
# This is used by coregrind/Makefile.am and by <tool>/Makefile.am for doing
|
||||
# "make uninstall". It removes $(noinst_PROGRAMS) from $prefix/lib/valgrind/.
|
||||
# It needs to be depended on by an 'uninstall-local' rule.
|
||||
uninstall-noinst_PROGRAMS:
|
||||
for f in $(noinst_PROGRAMS); do \
|
||||
rm -f $(DESTDIR)$(pkglibdir)/$$f; \
|
||||
done
|
||||
|
||||
# Similar to install-noinst_PROGRAMS.
|
||||
# Nb: we don't use $(INSTALL_PROGRAM) here because it doesn't work with
|
||||
# directories. XXX: not sure whether the resulting permissions will be
|
||||
@ -68,6 +76,12 @@ install-noinst_DSYMS: build-noinst_DSYMS
|
||||
cp -R $$f.dSYM $(DESTDIR)$(pkglibdir); \
|
||||
done
|
||||
|
||||
# Similar to uninstall-noinst_PROGRAMS.
|
||||
uninstall-noinst_DSYMS:
|
||||
for f in $(noinst_DSYMS); do \
|
||||
rm -f $(DESTDIR)$(pkglibdir)/$$f.dSYM; \
|
||||
done
|
||||
|
||||
# This needs to be depended on by a 'clean-local' rule.
|
||||
clean-noinst_DSYMS:
|
||||
for f in $(noinst_DSYMS); do \
|
||||
|
||||
@ -187,3 +187,5 @@ clean-local: clean-noinst_DSYMS
|
||||
|
||||
install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS
|
||||
|
||||
uninstall-local: uninstall-noinst_PROGRAMS uninstall-noinst_DSYMS
|
||||
|
||||
|
||||
@ -632,6 +632,8 @@ clean-local: clean-noinst_DSYMS
|
||||
|
||||
install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS
|
||||
|
||||
uninstall-local: uninstall-noinst_PROGRAMS uninstall-noinst_DSYMS
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Darwin linker kludges
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@ -230,6 +230,7 @@ dist-hook: FAQ.txt html-docs man-pages
|
||||
|
||||
distclean-local:
|
||||
rm -rf html print
|
||||
rm -f FAQ.txt
|
||||
rm -f $(top_builddir)/FAQ.txt $(top_builddir)/docs/*.1
|
||||
|
||||
|
||||
|
||||
@ -69,3 +69,5 @@ clean-local: clean-noinst_DSYMS
|
||||
|
||||
install-exec-local: install-noinst_PROGRAMS install-noinst_DSYMS
|
||||
|
||||
uninstall-local: uninstall-noinst_PROGRAMS uninstall-noinst_DSYMS
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user