summaryrefslogtreecommitdiffstats
path: root/lang/qscheme/files/patch-Makefile.in
blob: f78872f20c3a3d7e64bd9510b414848124374b6c (plain)
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
--- Makefile.in.orig	2000-06-23 02:10:21.000000000 +0300
+++ Makefile.in	2009-03-03 18:30:51.000000000 +0200
@@ -111,11 +111,11 @@
 EXTRA_DIST = mkoptable mkwhatis $(modsrc) $(scmsrc) CHANGES LICENCE_EXCEPTION
 
 # other directories
-SUBDIRS = . doc sgtk
+SUBDIRS = . doc
 
 noinst_LIBRARIES = libqs.a
 
-shared_dir = $(prefix)/share/qscheme/$(VERSION)
+shared_dir = $(prefix)/lib/qscheme/$(VERSION)
 
 scmobjdir = $(shared_dir)
 scmobj_DATA = $(modobj) $(scmsrc)
@@ -578,12 +578,12 @@
 	$(COMPILE) -o $@ -shared -fPIC -I$(incpcre) $(srcdir)/regex.c $(PCRE_LIB)
 
 %.x:%.i
-	mkoptable $< > $@
+	./mkoptable $< > $@
 
-sproto.h: $(libqs_src)
-	@cfunctions $(libqs_src) \
-		| sed 's/^#include "c-extensions.h".*$$/#define PROTO(x) x/' > $@.new
-	@if diff $@ $@.new >/dev/null ; then rm $@.new; else mv $@.new $@ ; fi
+#sproto.h: $(libqs_src)
+#	@cfunctions $(libqs_src) \
+#		| sed 's/^#include "c-extensions.h".*$$/#define PROTO(x) x/' > $@.new
+#	@if diff $@ $@.new >/dev/null ; then rm $@.new; else mv $@.new $@ ; fi
 
 # force sproto.h to be up to date. Otherwise compilation of
 # distribution may fail, because sproto.h can trigger the cfunction
@@ -594,7 +594,7 @@
 
 # force the x bit on the shared libraries
 install-data-local:
-	chmod +x $(shared_dir)/*.so
+	chmod +x $(DESTDIR)$(shared_dir)/*.so
 
 whatis: whatis.qs
 
OpenPOWER on IntegriCloud