gpon_dti_agent/Makefile.am

49 lines
1.1 KiB
Makefile

## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign 1.7 nostdinc
SUBDIRS = src
DISTCHECK_CONFIGURE_FLAGS=@CONFIGURE_OPTIONS@
gpon_dti_agent_docdir = ${prefix}/doc/gpon_dti_agent
gpon_dti_agent_doc_DATA = \
LICENSE \
README \
AUTHORS \
ChangeLog \
NEWS \
TODO \
doc/doxyconfig \
doc/footer.html \
doc/header.html \
doc/logo.gif \
doc/stylesheet.css
EXTRA_DIST = $(gpon_dti_agent_doc_DATA)
clean-local:
rm -Rf .built .built_check .version* .prepared* ipkg/
# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
for specfile in *.spec; do \
if test -f $$specfile; then \
cp -p $$specfile $(distdir); \
fi \
done
# Create self extracting linux distribution
distcheck-hook:
chmod a+w $(distdir)
echo "Checking line ends ..."; \
find $(distdir) -type f -exec file {} \; | grep CRLF && exit -1; \
echo "Create installation package ..."; \
makeself.sh --gzip --notemp $(distdir) \
gpon_dti_agent-$(PACKAGE_VERSION).sh "$(PACKAGE_NAME)"
doc: @srcdir@/doc/doxyconfig
( cd @srcdir@/doc; \
doxygen doxyconfig; )