mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
get make distcheck working by adding uninstall support to gtk-doc stuff and changing a clean to a clean-local
Original commit message from CVS: get make distcheck working by adding uninstall support to gtk-doc stuff and changing a clean to a clean-local
This commit is contained in:
parent
08ded8cb40
commit
f6970851de
3 changed files with 35 additions and 1 deletions
|
@ -228,8 +228,25 @@ install-data-local:
|
|||
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
||||
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
||||
fi)
|
||||
uninstall-local:
|
||||
(installfiles=`echo $(srcdir)/html/*.html $(srcdir)/html/*.png`; \
|
||||
if test "$$installfiles" = '$(srcdir)/html/*.html'; \
|
||||
then echo '-- Nothing to uninstall' ; \
|
||||
else \
|
||||
for i in $$installfiles; do \
|
||||
rmfile=`basename $$i` ; \
|
||||
echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
|
||||
rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
|
||||
done; \
|
||||
echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \
|
||||
rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
|
||||
echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \
|
||||
rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \
|
||||
fi)
|
||||
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR)
|
||||
else
|
||||
install-data-local:
|
||||
uninstall-local:
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
|
@ -227,8 +227,25 @@ install-data-local:
|
|||
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
||||
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
||||
fi)
|
||||
uninstall-local:
|
||||
(installfiles=`echo $(srcdir)/html/*.html $(srcdir)/html/*.png`; \
|
||||
if test "$$installfiles" = '$(srcdir)/html/*.html'; \
|
||||
then echo '-- Nothing to uninstall' ; \
|
||||
else \
|
||||
for i in $$installfiles; do \
|
||||
rmfile=`basename $$i` ; \
|
||||
echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/'$$rmfile ; \
|
||||
rm -f $(DESTDIR)$(TARGET_DIR)/$$rmfile; \
|
||||
done; \
|
||||
echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE).devhelp' ; \
|
||||
rm -f $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp; \
|
||||
echo '-- Uninstalling $(DESTDIR)$(TARGET_DIR)/index.sgml' ; \
|
||||
rm -f $(DESTDIR)$(TARGET_DIR)/index.sgml; \
|
||||
fi)
|
||||
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(TARGET_DIR)
|
||||
else
|
||||
install-data-local:
|
||||
uninstall-local:
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
|
@ -119,7 +119,7 @@ $(DOC).pdf: $(DOC).ps
|
|||
# @export LC_PAPER=$(PAPER_LOCALE) && xmlto pdf $(MAIN)
|
||||
# @rm image.entities
|
||||
|
||||
clean:
|
||||
clean-local:
|
||||
-$(RM) -r $(BUILDDIR)
|
||||
-$(RM) -r html
|
||||
-$(RM) $(DOC).ps
|
||||
|
|
Loading…
Reference in a new issue