1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
Description: lex.l building fix
This patch makes lex work with the lex.l file.
.
amiwm (0.21pl2-1) unstable; urgency=low
.
* New upstream version.
* debian/rules: add lintian recommended targets.
* debian/copyright: update copyright years.
* Bump debhelper version to 8.
* Bump standards version to 3.9.2.
Author: Gürkan Sengün <gurkan@phys.ethz.ch>
---
Forwarded: no
Last-Update: 2012-11-01
--- amiwm-0.21pl2.orig/Makefile.in
+++ amiwm-0.21pl2/Makefile.in
@@ -1,3 +1,6 @@
+# Edited for Debian GNU/Linux.
+
+EXAMPLES = $(DESTDIR)/usr/share/doc/amiwm/examples
srcdir = @srcdir@
VPATH = @srcdir@
SHELL = /bin/sh
@@ -12,9 +15,11 @@ LIBS = @X_LIBS@ @X_PRE_LIBS@ -Llibami -l
-lX11 @X_EXTRA_LIBS@ @LIBS@
prefix = @prefix@
exec_prefix = @exec_prefix@
-bindir = $(exec_prefix)/bin
-libdir = $(exec_prefix)/lib
-mandir = $(prefix)/man
+bindir = $(DESTDIR)/usr/bin
+obindir = $(DESTDIR)/usr/bin
+libdir = $(DESTDIR)/usr/lib
+mandir = $(DESTDIR)/usr/share/man
+xmandir = $(DESTDIR)/usr/share/man
INSTALL = @INSTALL@
LN_S = @LN_S@
RM = -rm -f
--- amiwm-0.21pl2.orig/lex.l
+++ amiwm-0.21pl2/lex.l
@@ -6,6 +6,7 @@ extern int ParseError;
extern FILE *rcfile;
#undef yyin
#define yyin rcfile
+#define YY_SKIP_YYWRAP
#define yywrap() 1
extern int parse_keyword(char *);
void fixup_string(char *, char *);
|