Blame


1 def049d4 2016-05-24 soeren+gi # Copyright (C) 2013-2016 Sören Tempel
2 a6e06f44 2017-07-04 xhr # Copyright (C) 2017 Matthias Schmidt
3 bca3f66c 2015-03-13 soeren+gi #
4 bca3f66c 2015-03-13 soeren+gi # This program is free software: you can redistribute it and/or modify
5 bca3f66c 2015-03-13 soeren+gi # it under the terms of the GNU General Public License as published by
6 bca3f66c 2015-03-13 soeren+gi # the Free Software Foundation, either version 3 of the License, or
7 bca3f66c 2015-03-13 soeren+gi # (at your option) any later version.
8 bca3f66c 2015-03-13 soeren+gi #
9 bca3f66c 2015-03-13 soeren+gi # This program is distributed in the hope that it will be useful,
10 bca3f66c 2015-03-13 soeren+gi # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 bca3f66c 2015-03-13 soeren+gi # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 bca3f66c 2015-03-13 soeren+gi # GNU General Public License for more details.
13 bca3f66c 2015-03-13 soeren+gi #
14 bca3f66c 2015-03-13 soeren+gi # You should have received a copy of the GNU General Public License
15 bca3f66c 2015-03-13 soeren+gi # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 98cc485f 2013-11-14 git-nmeum
17 def049d4 2016-05-24 soeren+gi PREFIX ?= /usr/local
18 def049d4 2016-05-24 soeren+gi BINDIR ?= $(PREFIX)/bin
19 adb14395 2017-07-02 xhr MANDIR ?= $(PREFIX)/man
20 bca3f66c 2015-03-13 soeren+gi
21 adb14395 2017-07-02 xhr install:
22 09743871 2015-09-24 soeren+gi install -Dm755 tpm "$(DESTDIR)$(BINDIR)/tpm"
23 09743871 2015-09-24 soeren+gi install -Dm644 tpm.1 "$(DESTDIR)$(MANDIR)/man1/tpm.1"
24 98cc485f 2013-11-14 git-nmeum
25 98cc485f 2013-11-14 git-nmeum uninstall:
26 09743871 2015-09-24 soeren+gi $(RM) "$(DESTDIR)$(BINDIR)/tpm" \
27 09743871 2015-09-24 soeren+gi "$(DESTDIR)$(MANDIR)/man1/tpm.1"
28 98cc485f 2013-11-14 git-nmeum
29 7d41bb9f 2017-07-04 xhr .PHONY: install uninstall