fix debian packaging and fix build on new mac; refs #11

This commit is contained in:
Marc Wäckerlin
2014-11-06 10:24:05 +00:00
parent f07fe7dc85
commit 83530df845
5 changed files with 55 additions and 42 deletions

View File

@@ -15,7 +15,7 @@ SUBDIRS = @SRC_DIR@ @TST_DIR@ @DOC_DIR@
doc_DATA = AUTHORS COPYING ChangeLog NEWS README INSTALL
EXTRA_DIST = bootstrap.sh debian
EXTRA_DIST = bootstrap.sh debian build-string
DISTCLEANFILES = debian/changelog
@@ -44,20 +44,26 @@ rpm: dist
deps = ${top_srcdir}/COPYING ${top_srcdir}/README ${top_srcdir}/INSTALL ${top_srcdir}/NEWS ${top_srcdir}/ChangeLog
build-string:
touch build-string
clean-local:
- rm README.debian
- rm @PACKAGENAME@-dev_@MAJOR@.@MINOR@.@LEAST@-*.deb \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@-*.changes \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@-1.tar.gz \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@-1.dsc \
@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@-*.deb
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@*.changes \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@*.tar.gz \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@*.dsc \
@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@*.tar.gz \
@PACKAGENAME@_@MAJOR@.@MINOR@.@LEAST@*.deb
distclean-local:
- rm -r ${top_builddir}/@DOC_DIR@/html/* ${top_builddir}/@DOC_DIR@/latex/*
- rm -r ${top_builddir}/@DOC_DIR@/html/*
- rm -r ${top_builddir}/@DOC_DIR@/latex/*
- rm makefile makefile.in doxygen.err libmrw.doxytag
- find . -name '*~' | xargs rm
- rm -rf autom4te.cache SPECS RPMS BUILD BUILDROOT SRPMS
- rm aclocal.m4 config.guess config.sub configure \
depcomp install-sh ltmain.sh makefile makefile.in \
missing mkinstalldirs
MAINTAINERCLEANFILES = debian/control build-string