6 |
# dh-make output file, you may use that output file without restriction. |
# dh-make output file, you may use that output file without restriction. |
7 |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
# This special exception was added by Craig Small in version 0.37 of dh-make. |
8 |
|
|
9 |
|
APPNAME := gigedit |
10 |
|
|
11 |
# Uncomment this to turn on verbose mode. |
# Uncomment this to turn on verbose mode. |
12 |
export DH_VERBOSE=1 |
export DH_VERBOSE=1 |
13 |
|
|
27 |
config.status: |
config.status: |
28 |
dh_testdir |
dh_testdir |
29 |
# Add here commands to configure the package. |
# Add here commands to configure the package. |
30 |
if [ -e Makefile.cvs ] ; then \ |
if [ -e Makefile.svn ] ; then \ |
31 |
$(MAKE) -f Makefile.cvs; \ |
$(MAKE) -f Makefile.svn; \ |
32 |
fi |
fi |
33 |
chmod a+x configure |
chmod a+x configure |
34 |
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info |
50 |
rm -f build-stamp |
rm -f build-stamp |
51 |
|
|
52 |
# Add here commands to clean up after the build process. |
# Add here commands to clean up after the build process. |
53 |
if [ -e Makefile.cvs ] ; then \ |
if [ -e Makefile.svn ] ; then \ |
54 |
$(MAKE) -f Makefile.cvs; \ |
$(MAKE) -f Makefile.svn; \ |
55 |
fi |
fi |
56 |
chmod a+x configure |
chmod a+x configure |
57 |
-$(MAKE) distclean |
-$(MAKE) distclean |
71 |
dh_clean -k |
dh_clean -k |
72 |
dh_installdirs |
dh_installdirs |
73 |
|
|
74 |
# Add here commands to install the package into debian/tmp. |
# Add here commands to install the package temporarily below debian/. |
75 |
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp |
$(MAKE) DESTDIR=$(CURDIR)/debian/$(APPNAME) install |
76 |
|
|
77 |
|
|
78 |
# Build architecture-independent files here. |
# Build architecture-independent files here. |