projects
/
shibboleth
/
sp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix log category.
[shibboleth/sp.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
4a131f5
..
e6172ac
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-2,20
+2,30
@@
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I .
ACLOCAL_AMFLAGS = -I .
-EXTRA_DIST = \
- isapi_shib Shibboleth.sln libtool.m4 acx_pthread.m4 depcomp \
- config_win32.h shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall
+include doxygen.am
-dist-hook:
- rm -rf `find $(distdir)/configs -name Makefile`
+MOSTLYCLEANFILES = $(DX_CLEANFILES)
WANT_SUBDIRS = @WANT_SUBDIRS@
SUBDIRS = $(WANT_SUBDIRS)
WANT_SUBDIRS = @WANT_SUBDIRS@
SUBDIRS = $(WANT_SUBDIRS)
-DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib odbc-store selinux
+DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib
fastcgi
odbc-store selinux
+if DX_COND_doc
+all-local: shibboleth.spec pkginfo doxygen-doc
+APIDOCS = doc/api
+else
all-local: shibboleth.spec pkginfo
all-local: shibboleth.spec pkginfo
+endif
+
+install-data-hook:
+ rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
+ cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
+
+dist-hook:
+ rm -rf `find $(distdir)/isapi_shib -name .svn`
+ rm -rf `find $(distdir)/doc/api -name .svn`
shibboleth.spec: shibboleth.spec.in Makefile
rm -f $@.tmp
shibboleth.spec: shibboleth.spec.in Makefile
rm -f $@.tmp
@@
-29,4
+39,20
@@
pkginfo: pkginfo.in Makefile
-e 's:@-VERSION-@:${VERSION}:'
mv $@.tmp $@
-e 's:@-VERSION-@:${VERSION}:'
mv $@.tmp $@
+EXTRA_DIST = $(DX_CONFIG) \
+ $(APIDOCS) \
+ isapi_shib \
+ Shibboleth.sln \
+ libtool.m4 \
+ doxygen.m4 \
+ acx_pthread.m4 \
+ depcomp \
+ config_win32.h \
+ shibboleth.spec.in \
+ shibboleth.spec \
+ pkginfo.in \
+ pkginfo \
+ depend \
+ postinstall
+
DISTCLEANFILES = shibboleth.spec pkginfo
DISTCLEANFILES = shibboleth.spec pkginfo