Commit 53373ed7 authored by Patrick Matthäi's avatar Patrick Matthäi Committed by Axel Beckert

Imported Debian patch 1.02+cvs20080422-8

parent 5cef9b37
This diff is collapsed.
Source: flwm
Section: x11
Priority: optional
Homepage: http://flwm.sourceforge.net/
Maintainer: Debian QA Group <packages@qa.debian.org>
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 7), autoconf, libfltk1.1-dev, libxft-dev, libxinerama-dev
Package: flwm
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: menu
Provides: x-window-manager
Description: Fast Light Window Manager
Flwm is an attempt to combine the best ideas from several
window managers. The primary influence and code base is from
wm2 by Chris Cannam. Primary features copied from wm2 are:
.
- Does not look like Windoze.
- Nifty sideways title bars.
- No icons. You deiconify by picking off a pop-up menu.
This means no space is wasted by icons.
- Really small and fast code.
.
It is enhanced by the author's own further nutty ideas:
.
- Does not use shape extension, more standard resize handles.
- Occupies as little screen space as possible. The border and titles
are as thin as you could possibly make them. And maximized
windows waste only 15 pixels horizontally and zero (count'em)
pixels vertically!
- Independent maximize buttons for width & height, close button.
- Understands Motif, KDE, and GNOME window manager hints.
- Multiple desktops, controlled from the same menu as the icons.
Package: flwm-dbg
Section: debug
Architecture: any
Priority: extra
Depends: ${misc:Depends}, flwm (= ${binary:Version})
Description: Fast Light Window Manager (debugging symbols)
Flwm is an attempt to combine the best ideas from several
window managers. The primary influence and code base is from
wm2 by Chris Cannam. Primary features copied from wm2 are:
.
- Does not look like Windoze.
- Nifty sideways title bars.
- No icons. You deiconify by picking off a pop-up menu.
This means no space is wasted by icons.
- Really small and fast code.
.
It is enhanced by the author's own further nutty ideas:
.
- Does not use shape extension, more standard resize handles.
- Occupies as little screen space as possible. The border and titles
are as thin as you could possibly make them. And maximized
windows waste only 15 pixels horizontally and zero (count'em)
pixels vertically!
- Independent maximize buttons for width & height, close button.
- Understands Motif, KDE, and GNOME window manager hints.
- Multiple desktops, controlled from the same menu as the icons.
.
This package contains the debugging symbols for flwm.
This package was debianized by Tommi Virtanen <tv@debian.org> on
Tue, 9 Mar 1999 14:18:03 +0200.
It is now maintained by Bill Allombert <ballombe@debian.org> since
Sun, 6 Mar 2005 11:07:46 +0100
It was downloaded from http://www.cinenet.net/users/spitzak/flwm/
The current web site is http://flwm.sourceforge.net/
Upstream Author: Bill Spitzak <spitzak@d2.com>
Copyright:
----------------------------------------------------------------
Copyright (C) 1998-1999 Bill Spitzak
----------------------------------------------------------------
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; if not, write to the Free Software
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
MA 02110-1301, USA.
Written by Bill Spitzak spitzak@d2.com
----------------------------------------------------------------
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in '/usr/share/common-licenses/GPL-2'.
The Debian packaging is © 2009, Patrick Matthäi <pmatthaei@debian.org> and
is licensed under the GPL, see above.
debian/menu-stuff/flwm etc/menu-methods/
?package(flwm):needs="wm" section="Window Managers" \
title="Flwm" command="/usr/bin/flwm" \
longtitle="Fast Light Window Manager"
#!/usr/bin/install-menu
# Generates flwm menus for all registered applications.
compat="menu-1"
!include menu.h
outputencoding="ISO-8859-1"
# Make menus into directories and entries into files; deal with entries that
# contain slashes like "Communicator (static/461) Browser"
genmenu=$basesection "/" replacewith($title, "/", "_") \
ifelse($command, "", "/")
rootprefix="/var/lib/flwm/wmx/"
userprefix=".wmx/"
treewalk="(M)"
rootsection="/Debian"
preoutput= "#! /bin/sh\n# This file was automatically generated (see /usr/share/doc/menu).\n# DO NOT EDIT!\n"
# Clean-up files we may have generated in an earlier run first.
prerun="test -d " prefix() " && ( find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty )"
removemenu="test -d " prefix() " && ( find " prefix() " -type f -exec grep -q 'DO NOT EDIT' {} \\; -exec rm {} \\; ; find " prefix() " -depth -type d -print0 | xargs -0 rmdir --ignore-fail-on-non-empty )"
# And make the generated scripts executable afterwards.
postrun="find " prefix() " -type f -print0 | xargs -0 chmod a+x"
supported
x11= $command "\n"
text= term() "\n"
# TODO: we should support "wm" as well
endsupported
mainmenutitle=""
submenutitle= ""
startmenu=""
endmenu=""
# Add Debian menu support.
diff -urNad flwm-1.01~/Menu.C flwm-1.01/Menu.C
--- flwm-1.01~/Menu.C 2006-06-30 09:02:01.000000000 +0200
+++ flwm-1.01/Menu.C 2006-06-30 09:02:05.000000000 +0200
@@ -393,7 +393,11 @@
strcpy(path, home);
if (path[strlen(path)-1] != '/') strcat(path, "/");
strcat(path, ".wmx/");
- struct stat st; if (stat(path, &st) < 0) return;
+ struct stat st;
+ if (stat(path, &st) < 0) {
+ strcpy(path, "/var/lib/flwm/wmx/");
+ if (stat(path, &st) < 0) return;
+ }
if (st.st_mtime == wmx_time) return;
wmx_time = st.st_mtime;
num_wmx = 0;
diff -urNad flwm-1.01~/flwm.1 flwm-1.01/flwm.1
--- flwm-1.01~/flwm.1 2006-06-30 09:02:01.000000000 +0200
+++ flwm-1.01/flwm.1 2006-06-30 09:02:05.000000000 +0200
@@ -102,10 +102,13 @@
chmod +x !*
.fi
-RedHat users can run the program
-.B flwm_wmconfig
-to read the /etc/X11/wmconfig directory and produce an initial set of
-menu items.
+On Debian, flwm has been modified to support a system-wide menu
+.B /var/lib/flwm/wmx
+when no
+.B ~/.wmx
+exists, and scripts were added to take advantage of the Debian menu system
+(see
+.BR update-menus (1)).
.SH MOUSE USAGE
# Do not strip binaries for nostrip.
diff -urNad flwm-1.02~/Makefile flwm-1.02/Makefile
--- flwm-1.02~/Makefile 2007-08-12 18:37:59.000000000 +0200
+++ flwm-1.02/Makefile 2007-08-12 18:39:31.000000000 +0200
@@ -44,7 +44,7 @@
include makedepend
install: $(PROGRAM)
- $(INSTALL) -s $(PROGRAM) $(bindir)/$(PROGRAM)
+ $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM)
$(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE)
uninstall:
# This patch adds some parantheses in the code to avoid some compiler
# warnings.
diff -Naur flwm-1.02+cvs20080422.orig/Frame.C flwm-1.02+cvs20080422/Frame.C
--- flwm-1.02+cvs20080422.orig/Frame.C 2008-05-14 14:40:28.000000000 +0200
+++ flwm-1.02+cvs20080422/Frame.C 2008-05-14 14:43:34.000000000 +0200
@@ -915,7 +915,7 @@
// preserving stacking order:
for (p = &first; *p;) {
Frame* f = *p;
- if (f == this || f->is_transient_for(this) && f->state() != UNMAPPED) {
+ if (f == this || (f->is_transient_for(this) && f->state() != UNMAPPED)) {
*p = f->next; // remove it from list
if (previous) {
XWindowChanges w;
@@ -970,7 +970,7 @@
void Frame::iconize() {
for (Frame* c = first; c; c = c->next) {
- if (c == this || c->is_transient_for(this) && c->state() != UNMAPPED)
+ if (c == this || (c->is_transient_for(this) && c->state() != UNMAPPED))
c->state(ICONIC);
}
}
@@ -1163,7 +1163,7 @@
#endif
}
if (min_h == max_h || flag(KEEP_ASPECT|NO_RESIZE) ||
- !max_h_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM) {
+ (!max_h_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM)) {
max_h_button.hide();
} else {
max_h_button.position(BUTTON_LEFT,by);
@@ -1171,7 +1171,7 @@
by += BUTTON_H;
}
if (min_w == max_w || flag(KEEP_ASPECT|NO_RESIZE) ||
- !max_w_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM) {
+ (!max_w_button.value() && by+label_w+2*BUTTON_H > h()-BUTTON_BOTTOM)) {
max_w_button.hide();
} else {
max_w_button.position(BUTTON_LEFT,by);
@@ -1646,8 +1646,8 @@
nh = iy+ih-(Fl::event_y_root()-dy);
else {ny = y(); nh = h();}
if (flag(KEEP_ASPECT)) {
- if (nw-dwidth > nh-dwidth
- && (what&(FL_ALIGN_LEFT|FL_ALIGN_RIGHT))
+ if ((nw-dwidth > nh-dwidth
+ && (what&(FL_ALIGN_LEFT|FL_ALIGN_RIGHT)))
|| !(what&(FL_ALIGN_TOP|FL_ALIGN_BOTTOM)))
nh = nw-dwidth+dheight;
else
diff -Naur flwm-1.02+cvs20080422.orig/Hotkeys.C flwm-1.02+cvs20080422/Hotkeys.C
--- flwm-1.02+cvs20080422.orig/Hotkeys.C 2008-05-14 14:40:28.000000000 +0200
+++ flwm-1.02+cvs20080422/Hotkeys.C 2008-05-14 14:46:58.000000000 +0200
@@ -182,8 +182,8 @@
int Handle_Hotkey() {
for (int i = 0; keybindings[i].key; i++) {
if (Fl::test_shortcut(keybindings[i].key) ||
- (keybindings[i].key & 0xFFFF) == FL_Delete
- && Fl::event_key() == FL_BackSpace// fltk bug?
+ ((keybindings[i].key & 0xFFFF) == FL_Delete
+ && Fl::event_key() == FL_BackSpace)// fltk bug?
) {
keybindings[i].func();
return 1;
diff -Naur flwm-1.02+cvs20080422.orig/Menu.C flwm-1.02+cvs20080422/Menu.C
--- flwm-1.02+cvs20080422.orig/Menu.C 2008-05-14 14:40:28.000000000 +0200
+++ flwm-1.02+cvs20080422/Menu.C 2008-05-14 14:45:50.000000000 +0200
@@ -568,7 +568,7 @@
if (d == Desktop::current()) first_on_desk = menu+n;
for (c = Frame::first; c; c = c->next) {
if (c->state() == UNMAPPED || c->transient_for()) continue;
- if (c->desktop() == d || !c->desktop() && d == Desktop::current()) {
+ if (c->desktop() == d || (!c->desktop() && d == Desktop::current())) {
init(menu[n],(char*)c);
#if FL_MAJOR_VERSION < 2
init(menu[n],(char*)c);
# This patch fixes many format errors at the flwm.1 manpage.
diff -Naur flwm-1.02+cvs20080422.orig/flwm.1 flwm-1.02+cvs20080422/flwm.1
--- flwm-1.02+cvs20080422.orig/flwm.1 2008-09-06 10:56:16.000000000 +0200
+++ flwm-1.02+cvs20080422/flwm.1 2008-09-06 10:56:35.000000000 +0200
@@ -1,11 +1,11 @@
.\"Man page for flwm, by Bill Spitzak.
.TH flwm 1 "15 May 1999"
.SH NAME
-\fIflwm\fR - The Fast Light Window Manager
+\fIflwm\fR \- The Fast Light Window Manager
.SH SYNOPSIS
.B flwm
-[-d[isplay] host:n.n] [-g[eometry] WxH+X+Y]
-[-fg color] [-bg color] [-bg2 color]
+[\-d[isplay] host:n.n] [\-g[eometry] WxH+X+Y]
+[\-fg color] [\-bg color] [\-bg2 color]
.SH DESCRIPTION
.I flwm
is a very small and fast X window manager, featuring
@@ -24,52 +24,52 @@
.nf
#!/bin/sh
-xsetroot -solid \\#006060
+xsetroot \-solid \\#006060
xrdb .Xresources
# xset, xmodmap, other configuration programs
flwm &
WindowManager=$!
-# xterm, other automatically-launched programs
+# xterm, other automatically\-launched programs
wait $WindowManager
.fi
.SH SWITCHES
-.B -d[isplay] host:#.#
+.B \-d[isplay] host:#.#
Sets the display and screen for flwm to manage
-.B -v[isual] #
-Visual number to use (probably only works for non-color-mapped ones)
+.B \-v[isual] #
+Visual number to use (probably only works for non\-color\-mapped ones)
-.B -g[eometry] WxH+X+Y
+.B \-g[eometry] WxH+X+Y
Flwm will act as though the screen is only the specified area. It
will constrain initial window positions to this area and stop them at
the edges when dragging them around. This can be used to surround the
screen with fixed "toolbars" that are never covered by windows. These
-toolbars must be created by a program using override-redirect so that
+toolbars must be created by a program using override\-redirect so that
flwm does not try to move them.
-.B -m[aximum] WxH
+.B \-m[aximum] WxH
Set the size of windows when the maximize buttons are pushed.
-Normally this is the size of the screen. This is useful for
+Normally this is the size of the screen. This is useful for
XFree86 servers that are run with a smaller screen than display
memory.
-.B -x
+.B \-x
The menu will say "Exit" instead of "Logout" and will not ask for
-confirmation. This is a good idea if you are running flwm in some
+confirmation. This is a good idea if you are running flwm in some
other way than with exec at the end of .xinitrc, since it won't log
you out then.
-.B -fg color, -bg color
+.B \-fg color, \-bg color
Set the label color and the color of the window frames and the
menu.
-.B -c[ursor] #
+.B \-c[ursor] #
What cursor to use on the desktop (you will have to experiment to find
out what each number means)
-.B -cfg color, -cbg color
+.B \-cfg color, \-cbg color
Colors for the desktop and window resizing cursors
In addition to these switches there is much customization that can be
@@ -78,12 +78,12 @@
.SH MENU ITEMS
-Flwm can launch programs from its menu. This is controlled by files
+Flwm can launch programs from its menu. This is controlled by files
in the directory
.B ~/.wmx
(this was chosen to be compatible with wmx and wm2).
-Each executable file in ~/.wmx is a program to run. Usually these are
+Each executable file in ~/.wmx is a program to run. Usually these are
symbolic links to the real program or very short shell scripts.
Each subdirectory creates a child menu so you can build a hierarchy
@@ -94,43 +94,43 @@
.nf
mkdir ~/.wmx
-ln -s /usr/bin/gimp ~/.wmx/"The Gimp"
+ln \-s /usr/bin/gimp ~/.wmx/"The Gimp"
cat << EOF > ~/.wmx/"Terminal"
#! /bin/sh
-/usr/local/bin/rxvt -ut
+/usr/bin/rxvt \-ut
EOF
chmod +x !*
.fi
-On Debian, flwm has been modified to support a system-wide menu
+On Debian, flwm has been modified to support a system\-wide menu
.B /var/lib/flwm/wmx
when no
.B ~/.wmx
exists, and scripts were added to take advantage of the Debian menu system
(see
-.BR update-menus (1)).
+.BR update\-menus (1)).
.SH MOUSE USAGE
-.B Left-click
+.B Left\-click
on a window border raises window.
-.B Left-drag
+.B Left\-drag
will move the window when in the title bar, and will resize it in the
-edges. If the window cannot be resized then it will always move the
-window. What it will do is indicated by the cursor shape.
+edges. If the window cannot be resized then it will always move the
+window. What it will do is indicated by the cursor shape.
-.B Middle-click
+.B Middle\-click
on a window border lowers it to bottom.
-.B Middle-drag
+.B Middle\-drag
anywhere on window border will move the window.
When you move a window it will stop at the edges of the screen.
Dragging about 150 pixels further will unstick it and let you drag it
off the screen.
-.B Right-click
+.B Right\-click
on a window border pops up the menu.
.B Any button
@@ -138,10 +138,10 @@
.SH BUTTONS
-The empty button "iconizes" the window: it will completely vanish. To
+The empty button "iconizes" the window: it will completely vanish. To
get it back use the menu.
-The vertical-bar button "shades" (or "Venetian blinds"?) the window.
+The vertical\-bar button "shades" (or "Venetian blinds"?) the window.
Click it again to restore the window. You can also resize the shaded
window to a new height or "open" it by resizing horizontally.
@@ -151,9 +151,9 @@
.SH MENU
-.B Right-click
+.B Right\-click
on window border, or
-.B any-click
+.B any\-click
on the desktop, or typing
.B Alt+Esc
or
@@ -162,50 +162,50 @@
.B Alt+Shift+Tab
will pop up the menu.
-Releasing Alt will pick the current menu item. This makes flwm work
+Releasing Alt will pick the current menu item. This makes flwm work
very much (exactly?) like the Windows 95 shortcuts.
-Each main window is a menu item. If the window is "iconized" the
+Each main window is a menu item. If the window is "iconized" the
little picture shows an open rectangle, otherwise it shows a filled
rectangle. Picking a menu item deiconizes and raises that window and
warps the pointer so it is current.
.B New desktop
-asks for a name of a new desktop and makes it current. The desktop
+asks for a name of a new desktop and makes it current. The desktop
will initially be empty (except for sticky items).
To move windows to the current desktop, pop up the menu and pick
windows off of other desktops (if using the keyboard, use left
arrow to go to the desktop names, move up and down to the other
-desktop, and use right arrow to enter that desktop). The window will
+desktop, and use right arrow to enter that desktop). The window will
be moved from the other desktop to the current one.
To switch to another desktop, pick the title of the desktop (if using
the keyboard, use left arrow to go to the desktop names, move up and
down to the other desktop).
-If a desktop is empty you can delete it. Its sub menu will show
+If a desktop is empty you can delete it. Its sub menu will show
.B delete this desktop.
Pick that and the desktop is gone.
.B Sticky
-is a special "desktop": windows on it appear on all desktops. To make
+is a special "desktop": windows on it appear on all desktops. To make
a window "sticky" switch to the Sticky desktop and pick the window off
-its current desktop (thus "moving" it to the Sticky desktop). To
+its current desktop (thus "moving" it to the Sticky desktop). To
"unstick" a window go to another desktop and pick the window off the
sticky desktop menu.
.B New xterm
-will run a new xterm on the current desktop. Useful if
-you accidentally close everything. This item does not appear if a
+will run a new xterm on the current desktop. Useful if
+you accidentally close everything. This item does not appear if a
~/.wmx directory exists.
.B Logout
will ask for confirmation and if so flwm will exit.
.B Exit
-will exit flwm without confirmation. This item will appear if flwm
-was run with the -x switch.
+will exit flwm without confirmation. This item will appear if flwm
+was run with the \-x switch.
.SH HOT KEYS
@@ -272,7 +272,7 @@
You should have received a copy of the GNU General Public License
along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111\-1307
USA.
.SH AUTHORS
# Remove some extra libs from linking. flwm do not need them.
diff -Naur flwm-1.02+cvs20080422.orig/configure.in flwm-1.02+cvs20080422/configure.in
--- flwm-1.02+cvs20080422.orig/configure.in 2008-09-06 11:04:25.000000000 +0200
+++ flwm-1.02+cvs20080422/configure.in 2008-09-06 11:06:51.000000000 +0200
@@ -16,7 +16,7 @@
LIBS="-lfltk2 -lXft -lXinerama -lXi $LIBS"
CXXFLAGS="$CXXFLAGS -I/usr/local/include/fltk/compat"
else
- LIBS="-lfltk -lXft -lXinerama $LIBS"
+ LIBS="-lfltk $LIBS"
fi
MAKEDEPEND="\$(CXX) -M"
diff -Naur flwm-1.02+cvs20080422.orig/makeinclude.in flwm-1.02+cvs20080422/makeinclude.in
--- flwm-1.02+cvs20080422.orig/makeinclude.in 2008-09-06 11:04:25.000000000 +0200
+++ flwm-1.02+cvs20080422/makeinclude.in 2008-09-06 11:05:02.000000000 +0200
@@ -19,6 +19,6 @@
CXXFLAGS =@CXXFLAGS@
# libraries to link with:
-LIBS =@LIBS@ -lX11 -lXext @X_EXTRA_LIBS@ -lm
+LIBS =@LIBS@ -lX11 @X_EXTRA_LIBS@ -lm
INSTALL =@INSTALL@
# Let install also create the directorys if they are missing.
diff -Naur flwm-1.02+cvs20080422.orig/Makefile flwm-1.02+cvs20080422/Makefile
--- flwm-1.02+cvs20080422.orig/Makefile 2008-09-06 11:21:27.000000000 +0200
+++ flwm-1.02+cvs20080422/Makefile 2008-09-06 11:21:59.000000000 +0200
@@ -42,8 +42,8 @@
include makedepend
install: $(PROGRAM)
- $(INSTALL) $(PROGRAM) $(bindir)/$(PROGRAM)
- $(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE)
+ $(INSTALL) -D $(PROGRAM) $(bindir)/$(PROGRAM)
+ $(INSTALL) -D $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE)
uninstall:
-@ rm -f $(bindir)/$(PROGRAM)
01-debian-menu.diff
02-nostrip.diff
03-parantheses-warnings.diff
04-manpage-fixes.diff
05-remove-unneeded-linking.diff
06-create-dirs.diff
#!/bin/sh
set -e
# Remove (autogenerated) legacy menu files
if [ -d /etc/X11/flwm/wmx ]; then
rm -r /etc/X11/flwm/wmx
fi
inst=/etc/menu-methods/flwm
if [ -f $inst ]; then
chmod a+x $inst
fi
#DEBHELPER#
exit 0
#!/bin/sh
set -e
case "$1" in
remove)
# Remove the files that install-menu created:
if [ -d /var/lib/flwm/wmx ]; then
rm -rf /var/lib/flwm/wmx
fi
inst=/etc/menu-methods/flwm
if [ -f "$inst" ]; then
chmod a-x $inst
fi
;;
purge|upgrade);;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 0
;;
esac
#DEBHELPER#
exit 0
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
CXXFLAGS = -g -Wall -Wno-return-type -I/usr/X11R6/include
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CXXFLAGS += -O0
else
CXXFLAGS += -O2
endif
build: build-stamp
build-stamp:
autoconf
CXX="g++" ./configure --prefix=/usr --mandir=/usr/share/man
$(MAKE) "CXXFLAGS=$(CXXFLAGS)"
touch $@
clean:
dh_testdir
dh_testroot
rm -f *-stamp
[ ! -f makeinclude ] || $(MAKE) clean
# Remove files from previous build.
rm -f config.log config.cache config.status
rm -f makedepend makeinclude
rm -rf autom4te.cache
rm -f configure
dh_clean
install:
dh_testdir
dh_testroot
dh_prep
$(MAKE) install prefix=$(CURDIR)/debian/flwm/usr \
mandir=$(CURDIR)/debian/flwm/usr/share/man
# We don't want the uncompressed manpage.
rm -f debian/flwm/usr/share/man/man1/flwm.1
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_install
dh_installchangelogs
dh_installdocs
dh_installman
dh_installmenu
dh_installwm flwm
dh_strip --dbg-package=flwm-dbg
dh_shlibdeps
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
get-orig-source:
@@dh_testdir
@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
@@uscan --force-download --destdir ../tarballs
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
version=3
opts=dversionmangle=s/\+cvs\d+// \
http://flwm.sourceforge.net/flwm-(.*)\.tgz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment