]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build-sys: add small redirecting Makefiles
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 6 Mar 2014 04:51:33 +0000 (01:51 -0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 6 Mar 2014 04:59:58 +0000 (01:59 -0300)
These redirecting makefiles simplifies compiling from some editors and
when CWD is not the root of the source tree. This is similar to what was
introduced in systemd in 340d89e ("build-sys: add small redirecting
Makefiles to simplify compilation from within emacs")

.gitignore
libkmod/Makefile [new file with mode: 0644]
libkmod/docs/.gitignore
man/.gitignore
testsuite/Makefile [new file with mode: 0644]
tools/Makefile [new file with mode: 0644]

index 5bfab9a18d2cdda5cd0158124598d31596dd6b00..88c8149798dc4a962b5d3b72be40470112dcb5ba 100644 (file)
@@ -3,8 +3,8 @@
 /*.md5sum
 .deps/
 .libs/
-Makefile
-Makefile.in
+/Makefile
+/Makefile.in
 
 /aclocal.m4
 /autom4te.cache/
diff --git a/libkmod/Makefile b/libkmod/Makefile
new file mode 100644 (file)
index 0000000..223bec2
--- /dev/null
@@ -0,0 +1,13 @@
+#  Copyright 2010 Lennart Poettering
+#
+# This file has been copied from systemd. It is a dirty trick to simplify
+# compilation when CWD is not the root of the source tree. This file is not
+# intended to be distributed.  So, don't touch it, even better ignore it!
+
+all:
+       $(MAKE) -C ..
+
+clean:
+       $(MAKE) -C .. clean
+
+.PHONY: all clean
index 21e2279e9792bc94edcdde2c9049a2d8a3be9129..7514b08bfd210f9fa8bc7b125fc32e1f98a15ee5 100644 (file)
@@ -10,3 +10,5 @@ version.xml
 xml
 html
 gtk-doc.make
+Makefile
+Makefile.in
index bc0cce86fbe67ee5cad8360e8ba2fb5681443ede..a229b2f70159d9a9dd2dc9072666ff637da56458 100644 (file)
@@ -1,2 +1,4 @@
 *.5
 *.8
+Makefile
+Makefile.in
diff --git a/testsuite/Makefile b/testsuite/Makefile
new file mode 100644 (file)
index 0000000..38ba552
--- /dev/null
@@ -0,0 +1,15 @@
+#  Copyright 2010 Lennart Poettering
+#
+# This file has been copied from systemd. It is a dirty trick to simplify
+# compilation when CWD is not the root of the source tree. This file is not
+# intended to be distributed.  So, don't touch it, even better ignore it!
+
+all:
+       $(MAKE) -C .. check
+check:
+       $(MAKE) -C .. check
+
+clean:
+       $(MAKE) -C .. clean
+
+.PHONY: all clean check
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644 (file)
index 0000000..223bec2
--- /dev/null
@@ -0,0 +1,13 @@
+#  Copyright 2010 Lennart Poettering
+#
+# This file has been copied from systemd. It is a dirty trick to simplify
+# compilation when CWD is not the root of the source tree. This file is not
+# intended to be distributed.  So, don't touch it, even better ignore it!
+
+all:
+       $(MAKE) -C ..
+
+clean:
+       $(MAKE) -C .. clean
+
+.PHONY: all clean