File: rules

package info (click to toggle)
freeplane 1.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 17,692 kB
  • sloc: java: 65,086; xml: 2,841; sh: 190; ansic: 172; haskell: 55; makefile: 14
file content (31 lines) | stat: -rwxr-xr-x 818 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
#!/usr/bin/make -f
# debian/rules for Commons Fileupload (uses CDBS)

#clean:: buildxml-clean

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
# replaced by quilt: include /usr/share/cdbs/1/rules/simple-patchsys.mk

JAVA_HOME_DIRS       := /usr/lib/jvm/default-java

DEB_ANT_BUILD_TARGET := build
#DEB_BUILDDIR         := .
DEB_COMPRESS_EXCLUDE := .mm .pdf
# DEB_INSTALL_DOCS_ALL = -Xlicense
DEB_DH_INSTALL_ARGS := -XLICENSE.txt

build:
	/usr/bin/docbook-to-man debian/freeplane.sgml > freeplane.1
	convert freeplane_framework/script/freeplane.png freeplane.xpm

clean:: 
	-rm -f freeplane.xpm
	-rm -f freeplane.1

#buildxml-clean::
#	-$(DEB_ANT_INVOKE) $(DEB_ANT_CLEAN_TARGET)

# Get original sources directly using uscan
get-orig-source:
	uscan --force-download --rename --repack