projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Calculating size for the whole media "/live/image/", not only the dir "/live/image...
[live-boot-grml.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
1126e94
..
d083027
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
SHELL := sh -e
LANGUAGES = $(shell cd manpages/po && ls)
LANGUAGES = $(shell cd manpages/po && ls)
-SCRIPTS = b
in/* backends/initramfs-tools/* scripts/*.sh scripts/*/
*
+SCRIPTS = b
ackends/*/* bin/* scripts/*.sh scripts/*/*-
*
all: build
all: build
@@
-31,7
+31,7
@@
test:
echo " done."; \
else \
echo "W: checkbashisms - command not found"; \
echo " done."; \
else \
echo "W: checkbashisms - command not found"; \
- echo "I: checkbashisms can be o
p
tained from: "; \
+ echo "I: checkbashisms can be o
b
tained from: "; \
echo "I: http://git.debian.org/?p=devscripts/devscripts.git"; \
echo "I: On Debian based systems, checkbashisms can be installed with:"; \
echo "I: apt-get install devscripts"; \
echo "I: http://git.debian.org/?p=devscripts/devscripts.git"; \
echo "I: On Debian based systems, checkbashisms can be installed with:"; \
echo "I: apt-get install devscripts"; \
@@
-46,12
+46,6
@@
install:
cp -r scripts/boot.sh scripts/boot $(DESTDIR)/lib/live
# Installing executables
cp -r scripts/boot.sh scripts/boot $(DESTDIR)/lib/live
# Installing executables
- mkdir -p $(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 $(DESTDIR)/usr/share/live-boot
-
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks
cp backends/initramfs-tools/live.hook $(DESTDIR)/usr/share/initramfs-tools/hooks/live
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/scripts
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks
cp backends/initramfs-tools/live.hook $(DESTDIR)/usr/share/initramfs-tools/hooks/live
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/scripts
@@
-61,10
+55,6
@@
install:
mkdir -p $(DESTDIR)/usr/share/doc/live-boot
cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot
mkdir -p $(DESTDIR)/usr/share/doc/live-boot
cp -r COPYING $(DESTDIR)/usr/share/doc/live-boot
- mkdir -p $(DESTDIR)/usr/share/doc/live-boot/examples
- cp -r examples/* $(DESTDIR)/usr/share/doc/live-boot/examples
- # (FIXME)
-
# Installing manpages
for MANPAGE in manpages/en/*; \
do \
# Installing manpages
for MANPAGE in manpages/en/*; \
do \
@@
-83,11
+73,9
@@
install:
uninstall:
# Uninstalling executables
uninstall:
# Uninstalling executables
- rm -f $(DESTDIR)/sbin/live-s
napshot $(DESTDIR)/sbin/live-s
wapfile
+ rm -f $(DESTDIR)/sbin/live-swapfile
rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true
rmdir --ignore-fail-on-non-empty $(DESTDIR)/sbin > /dev/null 2>&1 || true
- rm -rf $(DESTDIR)/usr/share/live-boot
-
rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live
rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/live
rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live
rm -f $(DESTDIR)/usr/share/initramfs-tools/scripts/live