diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-03-28 18:03:53 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-03-28 18:03:53 +0100 |
commit | 7269a43df51a085878f0f9860f115b944a4cc206 (patch) | |
tree | 1cc586dcabcec5c9de86cefb7f69122d46d8ab48 /Makefile | |
download | wcal-7269a43df51a085878f0f9860f115b944a4cc206.tar.gz wcal-7269a43df51a085878f0f9860f115b944a4cc206.tar.xz wcal-7269a43df51a085878f0f9860f115b944a4cc206.zip |
initial commit of wcal
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..746782e --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +ALL=wcal + +CFLAGS=-g -O2 -Wall -Wno-switch -Wextra -Wwrite-strings + +DESTDIR= +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin +MANDIR=$(PREFIX)/share/man + +all: $(ALL) + +clean: FRC + rm -f $(ALL) + +check: FRC all + prove -v + +install: FRC all + mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 + install -m0755 $(ALL) $(DESTDIR)$(BINDIR) + install -m0644 $(ALL:=.1) $(DESTDIR)$(MANDIR)/man1 + +README: wcal.1 + mandoc -Tutf8 $< | col -bx >$@ + +FRC: |