commit 0026510b8b2e78f5b268b44c5f6abf7b61b36563 from: Alexander Arkhipov date: Fri Sep 30 13:20:50 2022 UTC improve Makefile's portability commit - 7ab29a2b12d05fd8c0b29f35be4048a2ae215d53 commit + 0026510b8b2e78f5b268b44c5f6abf7b61b36563 blob - 943b1150f8069c65c3045150b0407529e7f70d77 blob + a6c6ead4c27827dcfd559f135611dbdabd1f889c --- Makefile +++ Makefile @@ -38,14 +38,12 @@ uninstall: cd $(DESTDIR)$(PREFIX)/share && rm -rf gpass clean: - -rm -f $(BIN) $(OBJ) - -rm -f gpass-$(VERSION).tar.gz - -rm -f *.core + -rm -f $(BIN) $(OBJ) *.tar.gz *.core dist: clean mkdir -p gpass-$(VERSION) - cp -rf README Makefile config.mk eff.long $(SRC) $(MAN) gpass-$(VERSION) - tar -czf gpass-$(VERSION).tar.gz gpass-$(VERSION) + cp -f README Makefile config.mk eff.long $(SRC) $(MAN) gpass-$(VERSION) + tar cf - gpass-$(VERSION) | gzip >gpass-$(VERSION).tar.gz rm -rf gpass-$(VERSION) .PHONY: all options install uninstall clean dist