Diff

Differences From Artifact [fdccdbca53]:

To Artifact [dd261ab484]:


            1  +APPFS_VERSION = 0.1
     1      2   CC = gcc
     2      3   PKG_CONFIG = pkg-config
     3      4   FUSE_CFLAGS = $(shell $(PKG_CONFIG) --cflags fuse)
     4      5   CFLAGS_DEBUG = -Wall -g3 -ggdb3 -DDEBUG=1 -UNDEBUG -O0 -DAPPFS_EXIT_PATH=1
     5      6   CFLAGS_RELEASE = -Wall -UDEBUG -DNDEBUG=1 -O3
     6      7   CFLAGS = $(FUSE_CFLAGS) $(TCL_CFLAGS) $(CFLAGS_RELEASE)
     7      8   LDFLAGS = $(TCL_LDFLAGS)
................................................................................
    54     55   install: appfsd appfs-cache appfs-mkfs
    55     56   	if [ ! -d '$(DESTDIR)$(sbindir)' ]; then mkdir -p '$(DESTDIR)$(sbindir)'; chmod 755 '$(DESTDIR)$(sbindir)'; fi
    56     57   	if [ ! -d '$(DESTDIR)$(bindir)' ]; then mkdir -p '$(DESTDIR)$(bindir)'; chmod 755 '$(DESTDIR)$(bindir)'; fi
    57     58   	cp appfsd '$(DESTDIR)$(sbindir)/'
    58     59   	cp appfs-cache '$(DESTDIR)$(sbindir)/'
    59     60   	cp appfs-mkfs '$(DESTDIR)$(bindir)/'
    60     61   
           62  +appfs-$(APPFS_VERSION).cpio: appfs-cache appfs-cert appfs-mkfs
           63  +	rm -rf __TMP__
           64  +	mkdir -p __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin
           65  +	cp appfs-cache appfs-cert appfs-mkfs __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin
           66  +	chmod 755 __TMP__/appfs/noarch-noarch/$(APPFS_VERSION)/bin/*
           67  +	( cd __TMP__ && find appfs/noarch-noarch/$(APPFS_VERSION) | cpio --owner 0:0 -H newc -o ) > appfs-$(APPFS_VERSION).cpio.new
           68  +	rm -rf __TMP__
           69  +	mv appfs-$(APPFS_VERSION).cpio.new appfs-$(APPFS_VERSION).cpio
           70  +
    61     71   clean:
    62     72   	rm -f appfsd appfsd.o
    63     73   	rm -f appfsd.tcl.h
    64     74   	rm -f sha1.o sha1.tcl.h
    65     75   	rm -f pki.tcl.new pki.tcl.h
    66     76   
    67     77   distclean: clean
    68     78   
    69     79   mrproper: distclean
    70     80   	rm -f pki.tcl
    71     81   
    72     82   .PHONY: all install clean distclean mrproper