Rename to a name that isn't already taken

This commit is contained in:
Thomas Orozco 2015-02-22 21:20:25 -08:00
parent 0b97a195f9
commit 1bba98e471
4 changed files with 11 additions and 11 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
sinit.o
sinit
tini.o
tini

View File

@ -1,7 +1,7 @@
include config.mk
OBJ = sinit.o
BIN = sinit
OBJ = tini.o
BIN = tini
all: $(BIN)
@ -18,14 +18,14 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)
dist: clean
mkdir -p sinit-$(VERSION)
cp LICENSE Makefile README config.def.h config.mk sinit.c sinit-$(VERSION)
tar -cf sinit-$(VERSION).tar sinit-$(VERSION)
gzip sinit-$(VERSION).tar
rm -rf sinit-$(VERSION)
mkdir -p tini-$(VERSION)
cp LICENSE Makefile README config.def.h config.mk tini.c tini-$(VERSION)
tar -cf tini-$(VERSION).tar tini-$(VERSION)
gzip tini-$(VERSION).tar
rm -rf tini-$(VERSION)
clean:
rm -f $(BIN) $(OBJ) sinit-$(VERSION).tar.gz
rm -f $(BIN) $(OBJ) tini-$(VERSION).tar.gz
.PHONY:
all install uninstall dist clean

View File

@ -1,4 +1,3 @@
# sinit version
VERSION = 0.1.0
# paths

View File

@ -72,6 +72,7 @@ int main(int argc, char *argv[]) {
child_args[i] = NULL;
if (i == 0) {
// User forgot to provide args!
print_usage_and_exit(name, stdout, 1);
}