#!/usr/bin/make -f # # $Id$ # # 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 srcdir = $(shell pwd)/src package = jquery-pkg-jquery target = jquery-pkg-jquery 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 tmp rm -f common-install-indep common-install-indep:: rm -rf debian/jquery-pkg-jquery mkdir -p debian/jquery-pkg-jquery mkdir -pv $(DESTDIR)/usr/share/jquery-pkg/jquery cd $(SRCDIR) && cp jquery* $(DESTDIR)/usr/share/jquery-pkg/jquery mkdir -pv $(DESTDIR)/etc/apache2/jquery-pkg cp etc/apache2/jquery-pkg/jquery.conf $(DESTDIR)/etc/apache2/jquery-pkg/ chmod -R 0755 $(DESTDIR) touch common-install-indep