Added Makefile, fixed default install permissions including for executables, made metadata lines ignored when installing for now (they were just added recently and aren't properly handled yet)
This commit is contained in:
14
Makefile
14
Makefile
@ -0,0 +1,14 @@
|
||||
all: slabpkg.pkg
|
||||
|
||||
dist/slabpkg: slabpkg.c
|
||||
$(CC) -o $@ $^
|
||||
|
||||
slabpkg.pkg: slabpkg.pkb dist/slabpkg
|
||||
dist/slabpkg build slabpkg.pkb
|
||||
|
||||
testroot/slabpkg: dist/slabpkg slabpkg.pkg testroot/README.md
|
||||
dist/slabpkg --root ./testroot install slabpkg.pkg
|
||||
|
||||
test: dist/slabpkg testroot/slabpkg
|
||||
dist/slabpkg sum $^
|
||||
testroot/slabpkg sum $^
|
||||
|
Reference in New Issue
Block a user