summaryrefslogtreecommitdiff
path: root/Build/source/libs/graphite-engine/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/graphite-engine/Makefile.am')
-rw-r--r--Build/source/libs/graphite-engine/Makefile.am51
1 files changed, 51 insertions, 0 deletions
diff --git a/Build/source/libs/graphite-engine/Makefile.am b/Build/source/libs/graphite-engine/Makefile.am
new file mode 100644
index 00000000000..343db0df85c
--- /dev/null
+++ b/Build/source/libs/graphite-engine/Makefile.am
@@ -0,0 +1,51 @@
+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 = 2.1
+D_VERSION = `svnversion ${top_srcdir}|sed -e "s/[0-9]*\://g"`
+DEB_VERSION = $(VC_VERSION)+0$(D_VERSION)svn
+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 ${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
+
+deb: deb-base
+ dch -D ${DISTRIB_CODENAME} -v ${WITH_EPOCH} -m -c${DEBPACKAGE}/debian/changelog "This is build direct from svn"
+ cd ${DEBPACKAGE} && pdebuild
+
+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
+
+deb-release: deb-base
+ dch -D ${DISTRIB_CODENAME} -v ${WITH_EPOCH} -m -c${DEBPACKAGE}/debian/changelog "This is built direct from svn"
+ cd ${DEBPACKAGE} && pdebuild
+
+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