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 \
|
||||
ltconfig ltmain.sh missing mkinstalldirs \
|
||||
stamp-h.in build-stamp configure-stamp depcomp \
|
||||
eet_docs.tar.gz eet.c \
|
||||
eet_docs.tar.gz \
|
||||
README \
|
||||
eet.pc \
|
||||
eet.spec \
|
||||
|
@ -22,8 +22,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
|
|||
|
||||
bin_SCRIPTS = eet-config
|
||||
|
||||
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in gendoc \
|
||||
Doxyfile \
|
||||
EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN eet.c.in \
|
||||
README.in README \
|
||||
eet.pc.in \
|
||||
eet.spec.in eet.spec \
|
||||
|
|
|
@ -8,7 +8,7 @@ all-local: doc-build.stamp
|
|||
|
||||
# rule to remove all old created files
|
||||
doc-prepare.stamp:
|
||||
@if test x"html" != x ; then \
|
||||
@if test -d html ; then \
|
||||
rm -rf html/ latex/ man/ xml/; \
|
||||
fi
|
||||
|
||||
|
@ -17,18 +17,32 @@ doc-build.stamp: doc-prepare.stamp
|
|||
@doxygen
|
||||
@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)
|
||||
install-data-local:
|
||||
@if ! test -d "$(DESTDIR)$(datadir)/$(PACKAGE)"; then \
|
||||
mkdir "$(DESTDIR)$(datadir)/$(PACKAGE)"; \
|
||||
@if ! test -d $(DESTDIR)$(datadir)/$(PACKAGE); then \
|
||||
mkdir $(DESTDIR)$(datadir)/$(PACKAGE); \
|
||||
fi
|
||||
@if ! test -d "$(DESTDIR)$(docdir)"; then \
|
||||
mkdir "$(DESTDIR)$(docdir)"; \
|
||||
@if ! test -d $(DESTDIR)$(docdir); then \
|
||||
mkdir $(DESTDIR)$(docdir); \
|
||||
fi
|
||||
@cp -pr html/ man/ latex/ xml/ "$(DESTDIR)$(docdir)"
|
||||
@cp -pr html/ man/ latex/ xml/ $(DESTDIR)$(docdir)
|
||||
|
||||
# rule to uninstall the documentation
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue