* Fixed the Debian package build. It now uses ./configure.
git-svn-id: svn://svn.zoy.org/elk/trunk@28 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
29a24afc32
commit
3ecaca0cc1
|
@ -4,7 +4,7 @@ AC_PREREQ(2.50)
|
|||
AC_CONFIG_AUX_DIR(autotools)
|
||||
AC_CANONICAL_SYSTEM
|
||||
|
||||
AM_INIT_AUTOMAKE(cfingerd, 1.5.0)
|
||||
AM_INIT_AUTOMAKE(elk, 3.99.0)
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_PROG_CC
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
elk (3.99-1) unstable; urgency=low
|
||||
elk (3.99.0-1) unstable; urgency=low
|
||||
|
||||
* Pending release.
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
usr
|
||||
usr/share/elk
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
BUGS
|
||||
CONTRIBUTORS
|
||||
AUTHORS
|
||||
MIGRATE
|
||||
MACHINES
|
||||
README
|
||||
|
|
|
@ -12,19 +12,26 @@
|
|||
# This has to be exported to make some magic below work.
|
||||
export DH_OPTIONS
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
|
||||
$(MAKE) SUBDIRS='include scripts src scm lib/misc lib/unix\
|
||||
lib/xlib lib/xt lib/xaw lib/xm lib/xm/xt'
|
||||
./configure --prefix=/usr
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
|
||||
$(MAKE)
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
-$(MAKE) -i distclean
|
||||
|
||||
|
@ -39,8 +46,6 @@ install: build
|
|||
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/elk
|
||||
|
||||
mv $(CURDIR)/debian/elk/usr/bin/scheme \
|
||||
$(CURDIR)/debian/elk/usr/bin/scheme-elk
|
||||
install -m 644 debian/elk.ini $(CURDIR)/debian/elk/usr/share/elk
|
||||
|
||||
mv $(CURDIR)/debian/elk/usr/lib/*.so.* \
|
||||
|
@ -49,6 +54,7 @@ install: build
|
|||
mv $(CURDIR)/debian/elk/usr/include/elk/* \
|
||||
$(CURDIR)/debian/libelk0-dev/usr/include/elk/
|
||||
mv $(CURDIR)/debian/elk/usr/lib/*.so \
|
||||
$(CURDIR)/debian/elk/usr/lib/*.la \
|
||||
$(CURDIR)/debian/elk/usr/lib/*.a \
|
||||
$(CURDIR)/debian/libelk0-dev/usr/lib/
|
||||
|
||||
|
@ -70,7 +76,7 @@ binary-indep: build install
|
|||
# dh_installmanpages
|
||||
# dh_installinfo
|
||||
# dh_undocumented
|
||||
dh_installchangelogs CHANGES
|
||||
dh_installchangelogs NEWS
|
||||
# dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
|
@ -98,9 +104,9 @@ binary-arch: build install
|
|||
dh_installman
|
||||
# dh_installinfo
|
||||
# dh_undocumented
|
||||
dh_installchangelogs CHANGES
|
||||
dh_installchangelogs NEWS
|
||||
dh_strip
|
||||
dh_link usr/bin/scheme-elk usr/bin/elk
|
||||
dh_link usr/bin/elk usr/bin/scheme-elk
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
|
|
|
@ -86,10 +86,10 @@ WIDGET_SET= xaw
|
|||
../../scripts/makedl \$@ \$@
|
||||
|
||||
.d.c:
|
||||
LD_LIBRARY_PATH=../../src ../../src/scheme \$(SCMFLAGS) -l mkwidget.scm \$< \$@ \$(WIDGET_SET)
|
||||
LD_LIBRARY_PATH=../../src ../../src/elk \$(SCMFLAGS) -l mkwidget.scm \$< \$@ \$(WIDGET_SET)
|
||||
|
||||
.d.o:
|
||||
LD_LIBRARY_PATH=../../src ../../src/scheme \$(SCMFLAGS) -l mkwidget.scm \$< \$*.c \$(WIDGET_SET)
|
||||
LD_LIBRARY_PATH=../../src ../../src/elk \$(SCMFLAGS) -l mkwidget.scm \$< \$*.c \$(WIDGET_SET)
|
||||
\$(CC) \$(CFLAGS) -I\$(INC) -I../xlib $x11_incl -c \$*.c
|
||||
../../scripts/makedl \$@ \$@
|
||||
|
||||
|
|
|
@ -92,10 +92,10 @@ WIDGET_SET= xm
|
|||
../../scripts/makedl \$@ \$@
|
||||
|
||||
.d.c:
|
||||
LD_LIBRARY_PATH=../../src ../../src/scheme \$(SCMFLAGS) -l mkwidget.scm \$< \$@ \$(WIDGET_SET)
|
||||
LD_LIBRARY_PATH=../../src ../../src/elk \$(SCMFLAGS) -l mkwidget.scm \$< \$@ \$(WIDGET_SET)
|
||||
|
||||
.d.o:
|
||||
LD_LIBRARY_PATH=../../src ../../src/scheme \$(SCMFLAGS) -l mkwidget.scm \$< \$*.c \$(WIDGET_SET)
|
||||
LD_LIBRARY_PATH=../../src ../../src/elk \$(SCMFLAGS) -l mkwidget.scm \$< \$*.c \$(WIDGET_SET)
|
||||
\$(CC) \$(CFLAGS) -I\$(INC) -I../xlib $sys_incl -c \$*.c
|
||||
../../scripts/makedl \$@ \$@
|
||||
|
||||
|
|
Loading…
Reference in New Issue