* Use debian/compat instead of DH_COMPAT.
git-svn-id: svn://svn.zoy.org/elk/trunk@10 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
a5ef1a6d2a
commit
1cfad24165
|
@ -0,0 +1 @@
|
||||||
|
3
|
|
@ -2,8 +2,8 @@ Source: elk
|
||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
|
Maintainer: Sam Hocevar (Debian packages) <sam+deb@zoy.org>
|
||||||
Build-Depends: debhelper (>> 3.0.0), libelfg0-dev, xlibs-dev, lesstif-dev, libgdbm-dev, libxaw7-dev
|
Build-Depends: debhelper (>= 3.0), libelfg0-dev, xlibs-dev, lesstif-dev, libgdbm-dev, libxaw7-dev
|
||||||
Standards-Version: 3.5.10
|
Standards-Version: 3.6.0
|
||||||
|
|
||||||
Package: elk
|
Package: elk
|
||||||
Architecture: any
|
Architecture: any
|
||||||
|
|
|
@ -9,9 +9,6 @@
|
||||||
# Uncomment this to turn on verbose mode.
|
# Uncomment this to turn on verbose mode.
|
||||||
#export DH_VERBOSE=1
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
# This is the debhelper compatability version to use.
|
|
||||||
export DH_COMPAT=3
|
|
||||||
|
|
||||||
# This has to be exported to make some magic below work.
|
# This has to be exported to make some magic below work.
|
||||||
export DH_OPTIONS
|
export DH_OPTIONS
|
||||||
|
|
||||||
|
@ -19,7 +16,6 @@ build: build-stamp
|
||||||
build-stamp:
|
build-stamp:
|
||||||
dh_testdir
|
dh_testdir
|
||||||
|
|
||||||
# Add here commands to compile the package.
|
|
||||||
ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),alpha)
|
ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),alpha)
|
||||||
echo 'cflags=`echo $${cflags} | sed s/-O./-O0/`' > debian/arch-config
|
echo 'cflags=`echo $${cflags} | sed s/-O./-O0/`' > debian/arch-config
|
||||||
else
|
else
|
||||||
|
@ -35,7 +31,6 @@ clean:
|
||||||
dh_testroot
|
dh_testroot
|
||||||
rm -f build-stamp
|
rm -f build-stamp
|
||||||
|
|
||||||
# Add here commands to clean up after the build process.
|
|
||||||
-$(MAKE) -i distclean
|
-$(MAKE) -i distclean
|
||||||
rm -f debian/arch-config
|
rm -f debian/arch-config
|
||||||
|
|
||||||
|
@ -48,7 +43,6 @@ install: build
|
||||||
dh_clean -k
|
dh_clean -k
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
# Add here commands to install the package into debian/elk.
|
|
||||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/elk
|
$(MAKE) install DESTDIR=$(CURDIR)/debian/elk
|
||||||
|
|
||||||
mv $(CURDIR)/debian/elk/usr/bin/scheme \
|
mv $(CURDIR)/debian/elk/usr/bin/scheme \
|
||||||
|
|
Loading…
Reference in New Issue