File: rules

package info (click to toggle)
drupal7-mod-libraries 2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 280 kB
  • ctags: 15
  • sloc: php: 191; pascal: 70; makefile: 32
file content (42 lines) | stat: -rwxr-xr-x 832 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode
#export DH_VERBOSE=1
DESTDIR = $(CURDIR)/debian/drupal7-mod-libraries
BUILDDIR = $(DESTDIR)//usr/share/drupal7/modules/libraries

clean: 
	dh_testdir
	dh_testroot
	dh_clean

build: ;
install: 
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
	dh_installdocs README.txt tests
	cp -r libraries.install libraries.drush.inc libraries.module libraries.api.php libraries.info $(BUILDDIR)
	find $(BUILDDIR) -type f |xargs chmod 0644

build-arch:	build
build-indep:	build

binary-arch: ;
binary-indep: install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installman
	dh_installchangelogs CHANGELOG.txt
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch

.PHONY: build clean binary-indep binary-arch binary install