stest: get rid of getopt, use suckless arg.h

... also some style improvements.
This commit is contained in:
Hiltjo Posthuma 2015-07-19 21:34:51 +02:00
parent 5feb0c689d
commit d6742ef8a6
3 changed files with 141 additions and 53 deletions

View file

@ -22,7 +22,7 @@ config.h:
@echo creating $@ from config.def.h
@cp config.def.h $@
${OBJ}: config.h config.mk drw.h
${OBJ}: arg.h config.h config.mk drw.h
dmenu: dmenu.o drw.o util.o
@echo CC -o $@
@ -39,8 +39,8 @@ clean:
dist: clean
@echo creating dist tarball
@mkdir -p dmenu-${VERSION}
@cp LICENSE Makefile README config.mk dmenu.1 drw.h util.h dmenu_path \
dmenu_run stest.1 ${SRC} dmenu-${VERSION}
@cp LICENSE Makefile README arg.h config.mk dmenu.1 drw.h util.h \
dmenu_path dmenu_run stest.1 ${SRC} dmenu-${VERSION}
@tar -cf dmenu-${VERSION}.tar dmenu-${VERSION}
@gzip dmenu-${VERSION}.tar
@rm -rf dmenu-${VERSION}