mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +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' ; \
|
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
||||||
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
||||||
fi)
|
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
|
else
|
||||||
install-data-local:
|
install-data-local:
|
||||||
|
uninstall-local:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -227,8 +227,25 @@ install-data-local:
|
||||||
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
echo '-- Installing $(srcdir)/html/index.sgml' ; \
|
||||||
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
$(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR); \
|
||||||
fi)
|
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
|
else
|
||||||
install-data-local:
|
install-data-local:
|
||||||
|
uninstall-local:
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -119,7 +119,7 @@ $(DOC).pdf: $(DOC).ps
|
||||||
# @export LC_PAPER=$(PAPER_LOCALE) && xmlto pdf $(MAIN)
|
# @export LC_PAPER=$(PAPER_LOCALE) && xmlto pdf $(MAIN)
|
||||||
# @rm image.entities
|
# @rm image.entities
|
||||||
|
|
||||||
clean:
|
clean-local:
|
||||||
-$(RM) -r $(BUILDDIR)
|
-$(RM) -r $(BUILDDIR)
|
||||||
-$(RM) -r html
|
-$(RM) -r html
|
||||||
-$(RM) $(DOC).ps
|
-$(RM) $(DOC).ps
|
||||||
|
|
Loading…
Reference in a new issue