aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/001_add-main-makefile.patch
blob: f487ef711be4d83a41c306f6757accf981a29447 (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
44
45
46
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+
+all: build
+
+build: build-arch build-indep
+
+clean:
+	cd nx-X11 && test -f Makefile && make $@ || true
+	cd nxcomp && test -f Makefile && make $@ || true
+	cd nxcompext && test -f Makefile && make $@ || true
+	cd nxcompshad && test -f Makefile && make $@ || true
+	cd nxproxy && test -f Makefile && make $@ || true
+
+
+distclean:
+	cd nx-X11 && test -f Makefile && make $@ || true
+	cd nxcomp && test -f Makefile && make $@ || true
+	cd nxcompext && test -f Makefile && make $@ || true
+	cd nxcompshad && test -f Makefile && make $@ || true
+	cd nxproxy && test -f Makefile && make $@ || true
+
+build-arch:
+	cd nxcomp && autoconf
+	cd nxcompext && autoconf
+	cd nxcompshad && autoconf
+	cd nx-X11 && make World
+	cd nxproxy && autoconf && ./configure && make
+
+build-indep:
+
+install:
+	cd nxcomp && make install
+	cd nxcompext && make install
+	cd nxcompshad && make install
+	cd nx-X11 && make install
+	cd nxproxy && make install
+
+uninstall:
+	cd nxcomp && make uninstall
+	cd nxcompext && make uninstall
+	cd nxcompshad && make uninstall
+	cd nx-X11 && make uninstall
+	cd nxproxy && make uninstall