#!/usr/bin/make -f # # $Id: rules 322 2014-06-10 11:39:05Z osgi $ TOPDIR=$(shell /bin/pwd) include /usr/share/cdbs/1/rules/debhelper.mk DEB_DH_ALWAYS_EXCLUDE := .svn:downloads srcname = put-selector package = $(srcname) target = $(srcname) # docdir = debian/tmp/usr/share/doc/$(package) SRCDIR = $(TOPDIR)/src/main/resources/OSGI-INF/webapp/dojo DESTDIR = $(TOPDIR)/debian/$(package)/usr/share/dojo/htdocs MVN=mvn -Dmaven.repo.local=$(TOPDIR)/debian/m2repo #DEB_INSTALL_DOCS_ALL := doc/ToDo.txt INSTALL_PROGRAM = install clean:: $(MVN) clean cd debian && rm -rf *.subvars *.log m2repo download/* devhost.txt.gz rm -f common-install-indep common-build-indep:: $(MVN) -Dmaven.repo.local=$(TOPDIR)/debian/m2repo process-sources common-install-indep:: mkdir -pv $(DESTDIR) cp -r $(SRCDIR)/put-selector $(DESTDIR) touch common-install-indep