File: rules

package info (click to toggle)
glue-schema 2.0.11-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 320 kB
  • sloc: makefile: 87
file content (67 lines) | stat: -rwxr-xr-x 1,342 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/make -f

configure: configure-stamp

configure-stamp:
	dh_testdir
	touch $@

build: build-indep build-arch

build-indep: build-stamp

build-arch:

build-stamp: configure-stamp
	dh_testdir
	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs
	$(MAKE) prefix=debian/glue-schema install

binary-indep: install
	dh_testdir
	dh_testroot
	dh_installdocs
	dh_installchangelogs
	dh_install
	dh_installman
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

binary: binary-indep binary-arch

get-orig-source:
	if [ -r ../glue-schema_2.0.11.orig.tar.gz ] ; then \
	  echo "glue-schema_2.0.11.orig.tar.gz already exists." ; \
	else \
	  if [ -d "glue-schema-2.0.11" ]; then \
	    echo "Please remove existing directory 'glue-schema-2.0.11'" ; \
	    exit -1 ; \
	  fi ; \
	  echo "Fetching upstream svn version" ; \
	  svn export http://svn.cern.ch/guest/gridinfo/glue-schema/tags/R_2_0_11 \
	    glue-schema-2.0.11 ; \
	  echo "Packing it up." ; \
	  tar -z -c -f ../glue-schema_2.0.11.orig.tar.gz glue-schema-2.0.11 ; \
	  echo "Cleaning up." ; \
	  rm -rf glue-schema-2.0.11 ; \
	fi

.PHONY: build-indep build-arch build clean binary-indep binary-arch binary install configure get-orig-source