File: rules

package info (click to toggle)
simplyhtml 0.13.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,632 kB
  • ctags: 2,105
  • sloc: java: 14,833; xml: 1,082; sh: 140; haskell: 34; makefile: 28
file content (36 lines) | stat: -rwxr-xr-x 1,125 bytes parent folder | download
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
#!/usr/bin/make -f
# debian/rules for Commons Fileupload (uses CDBS)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

JAVA_HOME_DIRS       := /usr/lib/jvm/java-6-openjdk
ANT_HOME             := /usr/share/ant
DEB_ANT_BUILD_TARGET := full-dist
DEB_BUILDDIR         := src

LIBRARY=SimplyHTML
VERSION=0.13.1

build:
	/usr/bin/docbook-to-man debian/simplyhtml.sgml > simplyhtml.1
	cp debian/simplyhtml.sh simplyhtml

clean:: 
	-rm -f simplyhtml.1
	-rm -f simplyhtml
	-rm -fr bin

get-orig-source:
	if [ -f $(CURDIR)/debian/changelog ]; then \
	if [ -d $(CURDIR)/../tarballs ]; then \
	uscan --destdir $(CURDIR)/../tarballs --repack --rename ;\
	else \
	uscan --repack --rename ;\
	fi; \
	echo "Use a command like the following to create a binary free (DFSG) source file:";\
	echo "gunzip -c simplyhtml_0.13.1.orig.tar.gz | tar --delete --wildcards -vf - ./lib/\* ./api | gzip -c > simplyhtml_0.13.1+dfsg.orig.tar.gz";\
	else \
	echo "The get-orig-source uses 'uscan' and works only if 'debian/changelog' is in the current directory.";\
	fi