forked from enlightenment/efl
respect $(DESTDIR) as reported by Mike Russo via e-mail
SVN revision: 17060
This commit is contained in:
parent
9af4e41c33
commit
f6a74a24f7
|
@ -19,13 +19,13 @@ doc-build.stamp: doc-prepare.stamp
|
||||||
|
|
||||||
# rule to install the documentation in $(docdir)
|
# rule to install the documentation in $(docdir)
|
||||||
install-data-local:
|
install-data-local:
|
||||||
@if ! test -d $(datadir)/$(PACKAGE); then \
|
@if ! test -d "$(DESTDIR)$(datadir)/$(PACKAGE)"; then \
|
||||||
mkdir $(datadir)/$(PACKAGE); \
|
mkdir "$(DESTDIR)$(datadir)/$(PACKAGE)"; \
|
||||||
fi
|
fi
|
||||||
@if ! test -d $(docdir); then \
|
@if ! test -d "$(DESTDIR)$(docdir)"; then \
|
||||||
mkdir $(docdir); \
|
mkdir "$(DESTDIR)$(docdir)"; \
|
||||||
fi
|
fi
|
||||||
@cp -pr html/ man/ latex/ xml/ $(docdir)
|
@cp -pr html/ man/ latex/ xml/ "$(DESTDIR)$(docdir)"
|
||||||
|
|
||||||
# rule to uninstall the documentation
|
# rule to uninstall the documentation
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
|
|
Loading…
Reference in New Issue