diff options
author | Daniel Drake <dsd@laptop.org> | 2009-12-23 12:53:40 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2009-12-23 13:12:09 (GMT) |
commit | bc3a54699bd29ce6b282b8ec06213ad8fad2f0dc (patch) | |
tree | 4115d23f978405463204872ccbe2e28f367fe307 /bin | |
parent | a5d6a9ff4650e6fc26d2ea92a795892b1f30ebf3 (diff) |
Make system-installable
Diffstat (limited to 'bin')
-rw-r--r-- | bin/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile index d1cfc3b..ba202a6 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -8,6 +8,10 @@ crcimg: crc32.c crcimg.c zhashfs: zhashfs.c $(CC) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DARGTYPE=1 $^ -o $@ -I/usr/include/tomcrypt -ltomcrypt -lz +install: all + install -D -m 0755 zhashfs $(DESTDIR)/usr/libexec/olpc-os-builder/zhashfs + install -D -m 0755 crcimg $(DESTDIR)/usr/libexec/olpc-os-builder/crcimg + clean: rm -f crcimg zhashfs |