conf

conf - my dotfiles manager
git clone git://git.alex.balgavy.eu/conf.git
Log | Files | Refs | README | LICENSE

commit 18727c655a3563d01cec3d698d19a157d16e4d93
parent 84f31cb86b93a8bd2cc7e5ca2ebdc57343fb2ac6
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sat, 29 Feb 2020 02:35:03 +0100

Makefile

Diffstat:
M.gitignore | 1-
AMakefile | 21+++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -61,7 +61,6 @@ inc/ /blib/ /_eumm/ /*.gz -/Makefile /Makefile.old /MANIFEST.bak /pm_to_blib diff --git a/Makefile b/Makefile @@ -0,0 +1,21 @@ +prefix=/usr/local +datarootdir=$(prefix)/share +datadir=$(datarootdir) +exec_prefix=$(prefix) +bindir=$(exec_prefix)/bin +mandir=$(datarootdir)/man +man1dir=$(mandir)/man1 + +all: + @echo "Targets: install, uninstall, man" + +install: conf conf.1 + cp conf $(bindir)/ + cp conf.1 $(man1dir)/ + +uninstall: + rm $(bindir)/conf + rm $(man1dir)/conf.1 + +man: conf conf.1 + pod2man conf conf.1