projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Alternatively depend on busybox or busybox-initramfs on live-boot-initramfs-tools.
[live-boot-grml.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
1018daf
..
85b4b84
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,12
+4,14
@@
SHELL := sh -e
LANGUAGES = de
LANGUAGES = de
+SCRIPTS = bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
+
all: test build
test:
@echo -n "Checking for syntax errors"
all: test build
test:
@echo -n "Checking for syntax errors"
- @for SCRIPT in
bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
; \
+ @for SCRIPT in
$(SCRIPTS)
; \
do \
sh -n $${SCRIPT}; \
echo -n "."; \
do \
sh -n $${SCRIPT}; \
echo -n "."; \
@@
-22,9
+24,9
@@
test:
@# We can't just fail yet on bashisms (FIXME)
@if [ -x /usr/bin/checkbashisms ]; \
then \
@# We can't just fail yet on bashisms (FIXME)
@if [ -x /usr/bin/checkbashisms ]; \
then \
- for SCRIPT in
bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
; \
+ for SCRIPT in
$(SCRIPTS)
; \
do \
do \
- checkbashisms $${SCRIPT} || true; \
+ checkbashisms
-f -x
$${SCRIPT} || true; \
echo -n "."; \
done; \
else \
echo -n "."; \
done; \
else \
@@
-37,14
+39,9
@@
build:
@echo "Nothing to build."
install:
@echo "Nothing to build."
install:
- # (FIXME)
- # Installing configuration
- install -D -m 0644 conf/live.conf $(DESTDIR)/etc/live.conf
- install -D -m 0644 conf/compcache $(DESTDIR)/usr/share/initramfs-tools/conf.d/compcache
-
# Installing executables
mkdir -p $(DESTDIR)/sbin
# Installing executables
mkdir -p $(DESTDIR)/sbin
- cp bin/live-
getty bin/live-login bin/live-
new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
+ cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
mkdir -p $(DESTDIR)/usr/share/live-boot
cp bin/live-preseed bin/live-reconfigure contrib/languagelist $(DESTDIR)/usr/share/live-boot
mkdir -p $(DESTDIR)/usr/share/live-boot
cp bin/live-preseed bin/live-reconfigure contrib/languagelist $(DESTDIR)/usr/share/live-boot
@@
-77,12
+74,8
@@
install:
done
uninstall:
done
uninstall:
- # (FIXME)
- # Uninstalling configuration
- rm -f $(DESTDIR)/etc/live.conf
-
# Uninstalling executables
# Uninstalling executables
- rm -f $(DESTDIR)/sbin/live-
getty $(DESTDIR)/sbin/live-login $(DESTDIR)/sbin/live-
snapshot $(DESTDIR)/sbin/live-swapfile
+ rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
rm -rf $(DESTDIR)/usr/share/live-boot
rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live
rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live*
rm -rf $(DESTDIR)/usr/share/live-boot
rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live
rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live*