projects
/
shibboleth
/
cpp-xmltooling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start revisions of autotools material.
[shibboleth/cpp-xmltooling.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
14c1a5c
..
0c5a508
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-1,6
+1,5
@@
AUTOMAKE_OPTIONS = foreign
AUTOMAKE_OPTIONS = foreign
-
-ACLOCAL_AMFLAGS = -I .
+ACLOCAL_AMFLAGS = -I m4
include doxygen.am
include doxygen.am
@@
-10,45
+9,27
@@
dist-hook:
rm -rf `find $(distdir)/xmltoolingtest/data -name .svn`
rm -rf `find $(distdir)/doc/api -name .svn`
rm -rf `find $(distdir)/xmltoolingtest/data -name .svn`
rm -rf `find $(distdir)/doc/api -name .svn`
-checksum: Portfile $(PACKAGE)-$(VERSION).tar.gz
- rm -f Portfile.tmp
- set HASH = `$(SHA1) $(PACKAGE)-$(VERSION).tar.gz`
- sed < Portfile > Portfile.tmp \
- -e 's:@CHECKSUM@:${HASH}:'
- mv Portfile.tmp Portfile
-
-SUBDIRS = doc schemas xmltooling xmltoolingtest
-
-GENFILES = xmltooling.spec pkginfo Portfile
+SUBDIRS = doc schemas @PACKAGE_NAME@ xmltoolingtest
if DX_COND_doc
if DX_COND_doc
-all-local: doxygen-doc
$(GENFILES)
+all-local: doxygen-doc
else
else
-all-local:
$(GENFILES)
+all-local:
endif
endif
-install-data-hook:
- rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
- cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = @PACKAGE_NAME@.pc
-$(GENFILES): %: %.in Makefile
- rm -f $@.tmp
- sed < $@.in > $@.tmp \
- -e 's:@-VERSION-@:${VERSION}:'
- mv $@.tmp $@
+GENFILES = @PACKAGE_NAME@.spec pkginfo Portfile
EXTRA_DIST = $(DX_CONFIG) \
EXTRA_DIST = $(DX_CONFIG) \
- cpp-xmltooling.sln \
- acx_pthread.m4 \
- acinclude.m4 \
- libtool.m4 \
- doxygen.m4 \
- depcomp \
+ cpp-@PACKAGE_NAME@.sln \
+ m4/acx_pthread.m4 \
+ m4/acinclude.m4 \
+ m4/ax_create_pkgconfig_info.m4 \
+ m4/doxygen.m4 \
config_win32.h \
$(GENFILES) \
$(GENFILES:%=%.in) \
config_win32.h \
$(GENFILES) \
$(GENFILES:%=%.in) \
- depend \
postinstall
postinstall
-
-DISTCLEANFILES = $(GENFILES)