60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
+
|
cp appfs-mkfs '$(DESTDIR)$(bindir)/'
# Internal target to publish appfs application to AppFS
appfs-$(APPFS_VERSION).cpio: appfs-cache appfs-cert appfs-mkfs
rm -rf __TMP__
mkdir -p __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin
cp appfs-cache appfs-cert appfs-mkfs __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin
fossil cat -r packages build > __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin/appfs-build
chmod 755 __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin/*
( cd __TMP__ && find appfs/noarch-noarch/$(APPFS_VERSION) | cpio --owner 0:0 -H newc -o ) > appfs-$(APPFS_VERSION).cpio.new
rm -rf __TMP__
mv appfs-$(APPFS_VERSION).cpio.new appfs-$(APPFS_VERSION).cpio
clean:
rm -f appfsd appfsd.o
|