mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-01-13 13:17:36 +03:00
Correctly install the HTML examples into their subdirectory.
Previous to this commit, the examples where installed haphazardly within all the other html documents, also overwriting index.html, for example. Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
This commit is contained in:
parent
7c0253aadf
commit
9675345048
@ -1283,8 +1283,10 @@ install-data-local:
|
|||||||
-$(INSTALL) -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
|
-$(INSTALL) -m 0644 $(srcdir)/testSAX.c $(DESTDIR)$(EXAMPLES_DIR)
|
||||||
-$(INSTALL) -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
|
-$(INSTALL) -m 0644 $(srcdir)/testHTML.c $(DESTDIR)$(EXAMPLES_DIR)
|
||||||
-$(INSTALL) -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
|
-$(INSTALL) -m 0644 $(srcdir)/testXPath.c $(DESTDIR)$(EXAMPLES_DIR)
|
||||||
|
@echo "If the documentation is installed, please also look at html/examples for more." > $(DESTDIR)$(EXAMPLES_DIR)/README
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
|
rm -f $(DESTDIR)$(EXAMPLES_DIR)/README
|
||||||
rm -f $(DESTDIR)$(EXAMPLES_DIR)/testXPath.c
|
rm -f $(DESTDIR)$(EXAMPLES_DIR)/testXPath.c
|
||||||
rm -f $(DESTDIR)$(EXAMPLES_DIR)/testHTML.c
|
rm -f $(DESTDIR)$(EXAMPLES_DIR)/testHTML.c
|
||||||
rm -f $(DESTDIR)$(EXAMPLES_DIR)/testSAX.c
|
rm -f $(DESTDIR)$(EXAMPLES_DIR)/testSAX.c
|
||||||
|
@ -23,8 +23,8 @@ index.html: examples.xml examples.xsl
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
install-data-local:
|
install-data-local:
|
||||||
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)
|
$(MKDIR_P) $(DESTDIR)$(HTML_DIR)/examples
|
||||||
-$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)
|
-$(INSTALL) -m 0644 $(srcdir)/*.html $(srcdir)/*.c $(srcdir)/*.xml $(srcdir)/*.xsl $(srcdir)/*.res $(DESTDIR)$(HTML_DIR)/examples/
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
test -f Makefile.am || rm -f test?.xml
|
test -f Makefile.am || rm -f test?.xml
|
||||||
|
Loading…
Reference in New Issue
Block a user