From b6faf9a3dff18dff2370a5d1bd6f3018a2a1a6e8 Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Mon, 29 Jun 2009 18:01:36 +0000 Subject: [PATCH] Added target Make deb into Makefile --- Makefile | 15 +++++++++++++++ debian/changelog | 6 ++++++ debian/control | 12 ++++++------ debian/dirs | 3 +-- debian/rules | 4 ++-- fvwm.tcl | 2 +- 6 files changed, 31 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index c2ccd1f..ad60b0d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,21 @@ +VERSION:=$(shell head -1 debian/changelog |sed -e 's/^.*(//' -e 's/-.*).*$$//') +DIR:=$(notdir $(CURDIR)) + install: fvwm.tcl pkgIndex.tcl install -m 755 -d $(DESTDIR)/usr/lib/fvwm-tcl install -m 644 fvwm.tcl $(DESTDIR)/usr/lib/fvwm-tcl install -m 644 pkgIndex.tcl $(DESTDIR)/usr/lib/fvwm-tcl clean: + +deb: ../libfvwm-tcl_$(VERSION).orig.tar.gz debian/rules debian/control debian/changelog + debuild + +upstream: ../libfvwm-tcl_$(VERSION).orig.tar.gz + +../libfvwm-tcl_$(VERSION).orig.tar.gz: Makefile fvwm.tcl Fvwm.3tcl pkgIndex.tcl quit.tcl + cd ..; tar czf libfvwm-tcl_$(VERSION).orig.tar.gz $(patsubst %,$(DIR)/%,$+) + +envtest: + : VERSION=$(VERSION) + : DIR=$(DIR) diff --git a/debian/changelog b/debian/changelog index 186af83..f768558 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libfvwm-tcl (1.4-1) unstable; urgency=low + + * Suport for fvwm 2.5.26 + + -- Victor Wagner Mon, 29 Jun 2009 21:47:27 +0400 + libfvwm-tcl (1.3-2) unstable; urgency=low * ÷ÓÔÁ×ÌÅÎÁ ÂÏÒØÂÁ Ó ÐÏÐÏÌÚÛÉÍ ÈÅÄÅÒÏÍ × ÎÅÄÒÁÈ fvwm É ÐÅÒÅÔÒÑÈÎÕÔÙ ÓÌÅÇËÁ diff --git a/debian/control b/debian/control index 300084f..4f4fd05 100644 --- a/debian/control +++ b/debian/control @@ -1,14 +1,14 @@ Source: libfvwm-tcl -Section: unknown -Priority: optional -Maintainer: Victor B. Wagner +Section: interpreters +Priority: extra +Maintainer: Victor B. Wagner Standards-Version: 3.0.1 Package: libfvwm-tcl Architecture: all -Depends: tcl8.4 | tcl8.3, fvwm -Recommends: tclx8.4 | tclx8.3 -Suggests: tk8.4 | tk8.3 +Depends: tcl8.4 | tcl8.3 |tcl8.5, fvwm +Recommends: tclx8.4 | tclx8.3 | tclx8.5 +Suggests: tk8.4 | tk8.3 |tk8.5 Description: Tcl interface to fvwm window manager Tcl-only library which allows to write FVWM modules on Tcl . diff --git a/debian/dirs b/debian/dirs index ca882bb..6845771 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,2 +1 @@ -usr/bin -usr/sbin +usr/lib diff --git a/debian/rules b/debian/rules index 224d69e..f5e5ce6 100755 --- a/debian/rules +++ b/debian/rules @@ -49,13 +49,13 @@ binary-indep: build install dh_testroot # dh_installdebconf dh_installdocs - dh_installexamples + dh_installexamples quit.tcl dh_installmenu # dh_installemacsen # dh_installpam # dh_installinit dh_installcron - dh_installmanpages + dh_installmanpages Fvwm.3tcl dh_installinfo # dh_undocumented dh_installchangelogs diff --git a/fvwm.tcl b/fvwm.tcl index 9d3c4b8..0898d85 100644 --- a/fvwm.tcl +++ b/fvwm.tcl @@ -481,4 +481,4 @@ proc Error {msgtype zero0 zero1 zero2 msg} { after idle "error [list $msg] \{[list FVWM 2 $msg]\}" } } -package provide Fvwm 1.3 +package provide Fvwm 1.4 -- 2.39.5