From a0dd1ed2836d0fe88ef0e0900ef18fab52328712 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 19 Mar 2009 15:44:24 +0000 Subject: new build system: more preparation git-svn-id: svn://tug.org/texlive/trunk@12430 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/libs/graphite/Makefile.am | 62 ----------------------------- Build/source/libs/graphite/Makefile.am.orig | 62 +++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 62 deletions(-) delete mode 100644 Build/source/libs/graphite/Makefile.am create mode 100644 Build/source/libs/graphite/Makefile.am.orig (limited to 'Build/source') diff --git a/Build/source/libs/graphite/Makefile.am b/Build/source/libs/graphite/Makefile.am deleted file mode 100644 index c819a9a33be..00000000000 --- a/Build/source/libs/graphite/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -AUTOMAKE_OPTIONS = 1.6 - -SUBDIRS = src test - -EXTRA_DIST = doc license \ - build.bat build_d.bat makefile.vc \ - README - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = silgraphite.pc - -$(pkgconfig_DATA): config.status - -dist-hook: - find $(distdir) -name .svn | xargs rm -rf - -# VC_VERSION is the last released version of the software -VC_VERSION = 2.3 -# D_VERSION gets the number of the current svn revision -D_VERSION = `svnversion ${top_srcdir}|sed -e "s/[0-9]*\://g"` -SVNDEB_VERSION = $(VC_VERSION)+0$(D_VERSION)svn -SVNDEBPACKAGE = silgraphite2.0-$(SVNDEB_VERSION) -SVNORIGTAR = silgraphite2.0_$(SVNDEB_VERSION).orig.tar.gz -SVNWITH_EPOCH = 1:$(SVNDEB_VERSION)-1 - -DEB_VERSION = $(VC_VERSION) -DEBPACKAGE = silgraphite2.0-$(DEB_VERSION) -ORIGTAR = silgraphite2.0_$(DEB_VERSION).orig.tar.gz -WITH_EPOCH = 1:$(DEB_VERSION)-1 - -DISTRIB_CODENAME ?= ${REL_CODENAME} - -showcodename: - echo "Codename: ${DISTRIB_CODENAME}" - -deb-base: dist - rm -rf silgraphite2.0* - mkdir -p ${SVNDEBPACKAGE} - cp ${PACKAGE}-${VERSION}.tar.gz $(SVNDEBPACKAGE) - tar cfz $(SVNORIGTAR) $(SVNDEBPACKAGE) - cp -a ${top_srcdir}/debian $(SVNDEBPACKAGE) - cd ${SVNDEBPACKAGE} && find . -name .svn | xargs rm -rf - -# make deb builds an interim deb from svn source for release -deb: deb-base - dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog - cd ${SVNDEBPACKAGE} && pdebuild - -# make deb-binary-only builds a binary only deb from svn source -deb-binary-only: deb-base - dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog "This is build direct from svn" - cd ${SVNDEBPACKAGE} && pdebuild --debbuildopts -i --debbuildopts -b - -# make deb-release builds a deb for a released version number -deb-release: deb-base - dch -D ${DISTRIB_CODENAME} -v ${WITH_EPOCH} -c${DEBPACKAGE}/debian/changelog - cd ${DEBPACKAGE} && pdebuild - -# make deb-local uses debuild to build a deb for local use only -deb-local: deb-base - dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog "This is a debuild direct from svn" - cd ${SVNDEBPACKAGE} && debuild -us -uc diff --git a/Build/source/libs/graphite/Makefile.am.orig b/Build/source/libs/graphite/Makefile.am.orig new file mode 100644 index 00000000000..c819a9a33be --- /dev/null +++ b/Build/source/libs/graphite/Makefile.am.orig @@ -0,0 +1,62 @@ +AUTOMAKE_OPTIONS = 1.6 + +SUBDIRS = src test + +EXTRA_DIST = doc license \ + build.bat build_d.bat makefile.vc \ + README + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = silgraphite.pc + +$(pkgconfig_DATA): config.status + +dist-hook: + find $(distdir) -name .svn | xargs rm -rf + +# VC_VERSION is the last released version of the software +VC_VERSION = 2.3 +# D_VERSION gets the number of the current svn revision +D_VERSION = `svnversion ${top_srcdir}|sed -e "s/[0-9]*\://g"` +SVNDEB_VERSION = $(VC_VERSION)+0$(D_VERSION)svn +SVNDEBPACKAGE = silgraphite2.0-$(SVNDEB_VERSION) +SVNORIGTAR = silgraphite2.0_$(SVNDEB_VERSION).orig.tar.gz +SVNWITH_EPOCH = 1:$(SVNDEB_VERSION)-1 + +DEB_VERSION = $(VC_VERSION) +DEBPACKAGE = silgraphite2.0-$(DEB_VERSION) +ORIGTAR = silgraphite2.0_$(DEB_VERSION).orig.tar.gz +WITH_EPOCH = 1:$(DEB_VERSION)-1 + +DISTRIB_CODENAME ?= ${REL_CODENAME} + +showcodename: + echo "Codename: ${DISTRIB_CODENAME}" + +deb-base: dist + rm -rf silgraphite2.0* + mkdir -p ${SVNDEBPACKAGE} + cp ${PACKAGE}-${VERSION}.tar.gz $(SVNDEBPACKAGE) + tar cfz $(SVNORIGTAR) $(SVNDEBPACKAGE) + cp -a ${top_srcdir}/debian $(SVNDEBPACKAGE) + cd ${SVNDEBPACKAGE} && find . -name .svn | xargs rm -rf + +# make deb builds an interim deb from svn source for release +deb: deb-base + dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog + cd ${SVNDEBPACKAGE} && pdebuild + +# make deb-binary-only builds a binary only deb from svn source +deb-binary-only: deb-base + dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog "This is build direct from svn" + cd ${SVNDEBPACKAGE} && pdebuild --debbuildopts -i --debbuildopts -b + +# make deb-release builds a deb for a released version number +deb-release: deb-base + dch -D ${DISTRIB_CODENAME} -v ${WITH_EPOCH} -c${DEBPACKAGE}/debian/changelog + cd ${DEBPACKAGE} && pdebuild + +# make deb-local uses debuild to build a deb for local use only +deb-local: deb-base + dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog "This is a debuild direct from svn" + cd ${SVNDEBPACKAGE} && debuild -us -uc -- cgit v1.2.3