diff options
Diffstat (limited to 'Build/source/libs/graphite-engine/Makefile.in')
-rw-r--r-- | Build/source/libs/graphite-engine/Makefile.in | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/Build/source/libs/graphite-engine/Makefile.in b/Build/source/libs/graphite-engine/Makefile.in index 051982d4d92..a07fdc70a31 100644 --- a/Build/source/libs/graphite-engine/Makefile.in +++ b/Build/source/libs/graphite-engine/Makefile.in @@ -137,6 +137,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ REL_CODENAME = @REL_CODENAME@ +SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIZEOF_WCHAR_T = @SIZEOF_WCHAR_T@ @@ -197,9 +198,16 @@ EXTRA_DIST = doc license \ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = silgraphite.pc -VC_VERSION = 2.1 + +# VC_VERSION is the last released version of the software +VC_VERSION = 2.2.1 +# D_VERSION gets the number of the current svn revision D_VERSION = `svnversion ${top_srcdir}|sed -e "s/[0-9]*\://g"` -DEB_VERSION = $(VC_VERSION)+0$(D_VERSION)svn +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 @@ -661,27 +669,31 @@ showcodename: deb-base: dist rm -rf silgraphite2.0* - mkdir -p ${DEBPACKAGE} - cp ${PACKAGE}-${VERSION}.tar.gz $(DEBPACKAGE) - tar cfz $(ORIGTAR) $(DEBPACKAGE) - cp -a ${top_srcdir}/debian $(DEBPACKAGE) - cd ${DEBPACKAGE} && find . -name .svn | xargs rm -rf + 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 ${WITH_EPOCH} -m -c${DEBPACKAGE}/debian/changelog "This is build direct from svn" - cd ${DEBPACKAGE} && pdebuild + 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 ${WITH_EPOCH} -m -c${DEBPACKAGE}/debian/changelog "This is build direct from svn" - cd ${DEBPACKAGE} && pdebuild --debbuildopts -i --debbuildopts -b + 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} -m -c${DEBPACKAGE}/debian/changelog "This is built direct from svn" + 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 ${WITH_EPOCH} -m -c${DEBPACKAGE}/debian/changelog "This is a debuild direct from svn" - cd ${DEBPACKAGE} && debuild -us -uc + dch -D ${DISTRIB_CODENAME} -v ${SVNWITH_EPOCH} -m -c${SVNDEBPACKAGE}/debian/changelog "This is a debuild direct from svn" + cd ${SVNDEBPACKAGE} && debuild -us -uc # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |