Remove make task "dist"

This commit is contained in:
Alex Kotov 2021-11-16 22:25:39 +05:00
parent 29536e5ebf
commit cb8da9ddae
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 1 additions and 10 deletions

1
.gitignore vendored
View file

@ -1,4 +1,3 @@
*.o *.o
/polytreewm /polytreewm
/polytreewm-*.tar.gz

View file

@ -29,14 +29,6 @@ polytreewm: ${OBJ}
clean: clean:
rm -f polytreewm ${OBJ} polytreewm-${VERSION}.tar.gz rm -f polytreewm ${OBJ} polytreewm-${VERSION}.tar.gz
dist: clean
mkdir -p polytreewm-${VERSION}
cp -R LICENSE Makefile README.md config.def.h config.mk \
polytreewm.1 drw.h util.h ${SRC} polytreewm.png polytreewm-${VERSION}
tar -cf polytreewm-${VERSION}.tar polytreewm-${VERSION}
gzip polytreewm-${VERSION}.tar
rm -rf polytreewm-${VERSION}
install: all install: all
mkdir -p ${DESTDIR}${PREFIX}/bin mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f polytreewm ${DESTDIR}${PREFIX}/bin cp -f polytreewm ${DESTDIR}${PREFIX}/bin
@ -62,4 +54,4 @@ uninstall:
${DESTDIR}${ICONSPREFIX}/polytreewm.png \ ${DESTDIR}${ICONSPREFIX}/polytreewm.png \
${DESTDIR}${XSESSIONSPREFIX}/polytreewm.desktop ${DESTDIR}${XSESSIONSPREFIX}/polytreewm.desktop
.PHONY: all options clean dist install uninstall xinstall .PHONY: all options clean install uninstall xinstall