yacy_search_server/debian/rules
f1ori 1bc08e1416 support debconf in debian package
* now you are ask some questions to preconfigure yacy after installing the debian package


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7048 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-08-18 13:30:57 +00:00

56 lines
1.4 KiB
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
configure: configure-stamp
configure-stamp:
# Add here commands to configure the package.
build: build-stamp
build-stamp: configure-stamp
# build yacy
ant compile -DPKGMANAGER=true
m4 -DDebian addon/yacyInit.m4 >debian/yacy.init
clean:
ant clean
rm -f debian/yacy.init
dh_clean
install:
# Add here commands to install the package into debian/yacy.
ant installonlinux -DDESTDIR=$(CURDIR)/debian/yacy
mkdir -p $(CURDIR)/debian/yacy/usr/share/java/yacy/
cp lib/*.jar $(CURDIR)/debian/yacy/usr/share/java/yacy/
#cp -r classes $(CURDIR)/debian/yacy/usr/share/java/yacy/
# Build architecture-independent files here.
binary-indep: install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: install
dh_installdebconf
dh_installchangelogs
dh_installdocs
dh_installinit
# dh_installman
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure