source: freemind/trunk/fuentes/debian/rules @ 68

Last change on this file since 68 was 68, checked in by jrpelegrina, 4 years ago

First release to Xenial

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#!/usr/bin/make -f
2# debian/rules for Commons Fileupload (uses CDBS)
3
4clean:: buildxml-clean
5
6include /usr/share/cdbs/1/rules/debhelper.mk
7include /usr/share/cdbs/1/class/ant.mk
8
9JAVA_HOME_DIRS       := /usr/lib/jvm/default-java
10
11ANT_HOME             := /usr/share/ant
12DEB_JARS             := ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-commons-logging ant-javamail ant-jdepend ant-nodeps ant-swing ant-jmf ant-apache-resolver ant-commons-net ant-jsch ant-junit ant-trax
13DEB_ANT_BUILD_TARGET := dist doc browser
14DEB_BUILDDIR         := freemind
15DEB_COMPRESS_EXCLUDE := .mm .pdf
16DEB_INSTALL_DOCS_ALL = -Xlicense
17DEB_DH_INSTALL_ARGS := -XLICENSE.MIT
18
19build:
20        /usr/bin/docbook-to-man debian/freemind.sgml > freemind.1
21        # chmod +x bin/dist/freemind.sh # seems to be unnecessary
22        convert freemind/images/FreeMindWindowIcon.png freemind/images/FreeMindWindowIcon.xpm
23
24clean:: 
25        chmod +x freemind/check_for_duplicate_resources.sh
26        -rm -f freemind/images/FreeMindWindowIcon.xpm
27        -rm -f freemind.1
28        -rmdir bin
29
30buildxml-clean::
31        -$(DEB_ANT_INVOKE) $(DEB_ANT_CLEAN_TARGET)
32
33# Get original sources directly using uscan
34get-orig-source:
35        uscan
Note: See TracBrowser for help on using the repository browser.