#!/usr/bin/make -f # # $Id$ TOPDIR=$(shell /bin/pwd) DEB_DH_ALWAYS_EXCLUDE := .svn:downloads srcname = jquery3 package = dojo-$(srcname) # docdir = debian/tmp/usr/share/doc/$(package) DESTDIR = $(TOPDIR)/debian/$(package)/usr/share/dojo/htdocs/jquery3 TMPDIR = $(TOPDIR)/debian/tmp jquery3_version=3.1.1 INSTALL_PROGRAM = install %: dh $@ install-indep:: common-install-indep clean:: cd debian && rm -rf *.substvars *.log devhost.txt.gz files $(package) tmp rm -f common-install-indep common-install-indep: rm -rf $(TMPDIR) rm -rf $(DESTDIR) mkdir -pv $(TMPDIR) mkdir -pv $(DESTDIR) cd $(TMPDIR); wget https://code.jquery.com/jquery-$(jquery3_version).min.js mv $(TMPDIR)/*.js $(DESTDIR) cd $(DESTDIR); ln -s jquery-$(jquery3_version).min.js jquery-3.min.js touch common-install-indep