summaryrefslogtreecommitdiffstats
path: root/move/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-10-22 16:20:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-10-22 16:20:24 +0000
commit4a5604021581abcbf0d9c8c5eb88f18cfb1c83df (patch)
tree78142e34d0052b92dad7fda17d59dc45dae19826 /move/Makefile
parent12b36a5be288c96173918b72f2ad58afba177215 (diff)
downloaddrakx-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar
drakx-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar.gz
drakx-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar.bz2
drakx-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.tar.xz
drakx-4a5604021581abcbf0d9c8c5eb88f18cfb1c83df.zip
add make_live_tree_boot
Diffstat (limited to 'move/Makefile')
-rw-r--r--move/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/move/Makefile b/move/Makefile
index 3f94b72cd..dcf7aa6cd 100644
--- a/move/Makefile
+++ b/move/Makefile
@@ -56,10 +56,22 @@ install: build
sudo rm -f $(DEST_LIVETREE)/lock
+live_tree_boot:
+ ./make_live_tree_boot
+ $(MAKE) /tmp/live_tree_boot.clp
+
+un_live_tree_boot:
+ ./make_live_tree_boot -u
+
xwait: %: %.c
$(CC) $(CFLAGS) $< -L/usr/X11R6/$(LIB_NAME) -lX11 -o $@
clean:
rm -f xwait
-# mkisofs -D -U -r $(DEST_LIVETREE) | create_compressed_fs - 65536 $(DEST_LIVETREE).clp 2000 2>/dev/null
+%.clp: %
+ if [ -e $<.sort ]; then \
+ mkisofs -r -sort $<.sort $< | create_compressed_fs - 65536 $@ 2000 2>/dev/null ; \
+ else \
+ mkisofs -r $< | create_compressed_fs - 65536 $@ 2000 2>/dev/null ; \
+ fi \ No newline at end of file