[SCM] Debian Live application startscripts branch, master, updated. bd02c8d9527490047106fe59eec4ce12c540830c
Daniel Baumann
daniel at debian.org
Sat Nov 29 23:02:44 UTC 2008
The following commit has been merged in the master branch:
commit c027bb775ea076b82eb4cdea0430cc92b04f4c81
Author: Daniel Baumann <daniel at debian.org>
Date: Wed Sep 3 19:09:24 2008 +0200
Adding Makefile.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1664288
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,46 @@
+# Makefile
+
+all: build
+
+test:
+ # Checking for syntax errors
+ set -e; for SCRIPT in functions/* scripts/*; \
+ do \
+ sh -n $$SCRIPT; \
+ done
+
+ # Checking for bashisms
+ set -e; if [ -x /usr/bin/checkbashisms ]; \
+ then \
+ checkbashisms functions/* scripts/*; \
+ else \
+ echo "bashism test skipped - you need to install devscripts."; \
+ fi
+
+build:
+ @echo "Nothing to build."
+
+install:
+ # Installing executables
+ mkdir -p $(DESTDIR)/usr/bin
+ cp scripts/* $(DESTDIR)/usr/bin
+
+ # Installing shared data
+ mkdir -p $(DESTDIR)/usr/share/live-startscripts
+ cp -r functions $(DESTDIR)/usr/share/live-startscripts
+
+uninstall:
+ # Uninstalling executables
+ for SCRIPT in scripts/*; \
+ do \
+ rm -f $(DESTDIR)/usr/bin/`basename $$SCRIPT`; \
+ done
+
+ # Uninstalling shared data
+ rm -rf $(DESTDIR)/usr/share/live-startscripts
+
+reinstall: uninstall install
+
+clean:
+
+distclean:
--
Debian Live application startscripts
More information about the debian-live-changes
mailing list