1# Copyright (C) 2013-2016 Sören Tempel 2# 3# This program is free software: you can redistribute it and/or modify 4# it under the terms of the GNU General Public License as published by 5# the Free Software Foundation, either version 3 of the License, or 6# (at your option) any later version. 7# 8# This program is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11# GNU General Public License for more details.12#13# You should have received a copy of the GNU General Public License14# along with this program. If not, see <http://www.gnu.org/licenses/>.1516VERSION = 1.3.317PREFIX ?= /usr/local18BINDIR ?= $(PREFIX)/bin19MANDIR ?= $(PREFIX)/share/man2021all: tpm.122tpm.1: README.pod23 pod2man --section=1 --center="tpm Manual" --name="TPM" \24 --release="tpm $(VERSION)" $< $@2526install: tpm.127 install -Dm755 tpm "$(DESTDIR)$(BINDIR)/tpm"28 install -Dm644 tpm.1 "$(DESTDIR)$(MANDIR)/man1/tpm.1"2930uninstall:31 $(RM) "$(DESTDIR)$(BINDIR)/tpm" \32 "$(DESTDIR)$(MANDIR)/man1/tpm.1"3334clean:35 $(RM) tpm.13637.PHONY: all install uninstall clean