forked from enlightenment/efl
add clean rules and add files for distribution
SVN revision: 17062
This commit is contained in:
parent
f6a74a24f7
commit
e69de7fbae
|
@ -12,7 +12,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
||||||
config.h.in config.sub configure install-sh \
|
config.h.in config.sub configure install-sh \
|
||||||
ltconfig ltmain.sh missing mkinstalldirs \
|
ltconfig ltmain.sh missing mkinstalldirs \
|
||||||
stamp-h.in build-stamp configure-stamp depcomp \
|
stamp-h.in build-stamp configure-stamp depcomp \
|
||||||
eet_docs.tar.gz eet.c \
|
eet_docs.tar.gz \
|
||||||
README \
|
README \
|
||||||
eet.pc \
|
eet.pc \
|
||||||
eet.spec \
|
eet.spec \
|
||||||
|
@ -22,8 +22,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
||||||
|
|
||||||
bin_SCRIPTS = eet-config
|
bin_SCRIPTS = eet-config
|
||||||
|
|
||||||
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in gendoc \
|
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in \
|
||||||
Doxyfile \
|
|
||||||
README.in README \
|
README.in README \
|
||||||
eet.pc.in \
|
eet.pc.in \
|
||||||
eet.spec.in eet.spec \
|
eet.spec.in eet.spec \
|
||||||
|
|
|
@ -8,7 +8,7 @@ all-local: doc-build.stamp
|
||||||
|
|
||||||
# rule to remove all old created files
|
# rule to remove all old created files
|
||||||
doc-prepare.stamp:
|
doc-prepare.stamp:
|
||||||
@if test x"html" != x ; then \
|
@if test -d html ; then \
|
||||||
rm -rf html/ latex/ man/ xml/; \
|
rm -rf html/ latex/ man/ xml/; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -17,18 +17,32 @@ doc-build.stamp: doc-prepare.stamp
|
||||||
@doxygen
|
@doxygen
|
||||||
@cp img/*.png html/
|
@cp img/*.png html/
|
||||||
|
|
||||||
|
# rules to clean
|
||||||
|
clean-local:
|
||||||
|
@rm -rf html/ latex/ man/ xml/
|
||||||
|
|
||||||
|
distclean-local: clean
|
||||||
|
rm -f Makefile.in
|
||||||
|
|
||||||
# rule to install the documentation in $(docdir)
|
# rule to install the documentation in $(docdir)
|
||||||
install-data-local:
|
install-data-local:
|
||||||
@if ! test -d "$(DESTDIR)$(datadir)/$(PACKAGE)"; then \
|
@if ! test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \
|
||||||
mkdir "$(DESTDIR)$(datadir)/$(PACKAGE)"; \
|
mkdir $(DESTDIR)$(datadir)/$(PACKAGE); \
|
||||||
fi
|
fi
|
||||||
@if ! test -d "$(DESTDIR)$(docdir)"; then \
|
@if ! test -d $(DESTDIR)$(docdir); then \
|
||||||
mkdir "$(DESTDIR)$(docdir)"; \
|
mkdir $(DESTDIR)$(docdir); \
|
||||||
fi
|
fi
|
||||||
@cp -pr html/ man/ latex/ xml/ "$(DESTDIR)$(docdir)"
|
@cp -pr html/ man/ latex/ xml/ $(DESTDIR)$(docdir)
|
||||||
|
|
||||||
# rule to uninstall the documentation
|
# rule to uninstall the documentation
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -rf $(docdir)
|
rm -rf $(DESTDIR)$(docdir)
|
||||||
|
|
||||||
|
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in eet.c
|
||||||
|
|
||||||
|
DISTCLEANFILES = Makefile.in eet.c
|
||||||
|
|
||||||
|
EXTRA_DIST = Doxyfile eet.css foot.html head.html img/
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue