1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
|
From: =?utf-8?b?IlNaIExpbiAo5p6X5LiK5pm6KSI=?= <szlin@debian.org>
Date: Tue, 20 Dec 2022 15:04:33 +0800
Subject: Remove unnecessary file
---
Makefile | 44 --------------------------------------------
1 file changed, 44 deletions(-)
delete mode 100644 Makefile
diff --git a/Makefile b/Makefile
deleted file mode 100644
index a976f0f..0000000
--- a/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-PREFIX ?= /usr/local
-BINDIR ?= $(DESTDIR)$(PREFIX)/bin
-MANDIR ?= $(DESTDIR)$(PREFIX)/share/man/man1
-DOCDIR ?= $(DESTDIR)$(PREFIX)/share/doc/pdd
-
-.PHONY: all install uninstall install-bin install-completions install-bash-completion install-zsh-completion install-fish-completion
-
-all:
-
-install: install-bin install-completions
-
-install-bin:
- install -m755 -d $(BINDIR)
- install -m755 -d $(MANDIR)
- install -m755 -d $(DOCDIR)
- gzip -c pdd.1 > pdd.1.gz
- install -m755 pdd $(BINDIR)/pdd
- install -m644 pdd.1.gz $(MANDIR)
- install -m644 README.md $(DOCDIR)
- rm -f pdd.1.gz
-
-install-completions: install-bash-completion install-zsh-completion install-fish-completion
-
-install-bash-completion:
- install -m644 auto-completion/bash/pdd.bash $(PREFIX)/share/bash-completion/compilations/pdd
-
-install-fish-completion:
- install -m644 auto-completion/fish/pdd.fish -t $(PREFIX)/share/fish/vendor_completions.d
-
-install-zsh-completion:
- cp pdd pdd.py
- auto-completion/zsh/zsh_completion.py
- install -m644 _pdd -t $(PREFIX)/share/zsh/site-functions
-
-uninstall:
- rm -f $(BINDIR)/pdd
- rm -f $(MANDIR)/pdd.1.gz
- rm -rf $(DOCDIR)
- rm -rf $(PREFIX)/share/bash-completion/compilations/pdd
- rm -rf $(PREFIX)/share/fish/vendor_completions.d/pdd.fish
- rm -rf $(PREFIX)/share/zsh/site-functions/_pdd
-
-check:
- @python3 -m pytest test.py
|