#!/usr/bin/make -f # # $Id: rules 12 2014-01-09 16:16:00Z lech $ # # rules file for creating debian packages # include /usr/share/cdbs/1/rules/debhelper.mk DEB_DH_ALWAYS_EXCLUDE := .svn:debian/tmp srcname = jquery-pkg-jquery-json srcdir = $(shell pwd)/src package = jquery-pkg-jquery-json target = jquery-pkg-jquery-json SRCDIR = $(shell /bin/pwd)/src DESTDIR = $(shell /bin/pwd)/debian/$(package) #DEB_INSTALL_DOCS_ALL := doc/ReadMe.txt INSTALL_PROGRAM = install VERSION=$(shell /usr/share/pba-cbs/sh/get_deb_version.sh $(srcdir)) clean:: cd debian && rm -rf *.subvars *.log jquery-pkg-jquery-json tmp rm -f common-install-indep common-install-indep:: rm -rf debian/jquery-pkg-jquery-json mkdir -p debian/jquery-pkg-jquery-json mkdir -pv $(DESTDIR)/usr/share/jquery-pkg/jquery cp -a src/jquery.json*.js $(DESTDIR)/usr/share/jquery-pkg/jquery chmod -R 0755 $(DESTDIR) touch common-install-indep