Skip to content

Commit

Permalink
Impeove the clean and dist tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
0x61nas committed Nov 20, 2022
1 parent 7ded554 commit 7e796e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ stest: src/stest.o
mv stest.o build/

clean:
rm -f build/dmenu build/stest $(OBJ) dist/dmenu-$(VERSION).tar.gz
rm -f build/dmenu build/stest $(OBJ) dist/dmenu-$(VERSION).tar.gz build/dmenu_run build/dmenu_path

dist: clean
mkdir -p $(DIST_DIR)
cp LICENSE Makefile README.md config.mk $(DIST_DIR)
cp -r src scripts doc $(DIST_DIR)
tar -cf dist/dmenu-$(VERSION).tar $(DIST_DIR)
gzip dist/dmenu-$(VERSION).tar
tar -cf $(DIST_DIR).tar $(DIST_DIR)
gzip $(DIST_DIR).tar
rm -rf $(DIST_DIR)

install: all
Expand Down

0 comments on commit 7e796e1

Please sign in to comment.