aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-20 08:18:43 -0300
committerEuAndreh <eu@euandre.org>2021-08-20 08:18:43 -0300
commit1618274ac68c11b5e17112984e7bc538c7880445 (patch)
tree4d4a75e1fb57550c1c82505a35b207a03ebe2619 /Makefile
parentsrc/gistatic.c: Handle overflow of size_t values (diff)
downloadgistatic-1618274ac68c11b5e17112984e7bc538c7880445.tar.gz
gistatic-1618274ac68c11b5e17112984e7bc538c7880445.tar.xz
Makefile: Copy libgistatic.a and gistatic.h on "install" target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9ab74e2..c49b462 100644
--- a/Makefile
+++ b/Makefile
@@ -76,8 +76,13 @@ clean:
tests/resources/repositories/repo-2/.git
install: all
- mkdir -p $(DESTDIR)$(PREFIX)/bin
- cp src/gistatic $(DESTDIR)$(PREFIX)/bin
+ mkdir -p \
+ $(DESTDIR)$(PREFIX)/bin \
+ $(DESTDIR)$(PREFIX)/lib \
+ $(DESTDIR)$(PREFIX)/include
+ cp src/gistatic $(DESTDIR)$(PREFIX)/bin
+ cp libgistatic.a $(DESTDIR)$(PREFIX)/lib
+ cp src/gistatic.h $(DESTDIR)$(PREFIX)/include
sh doc/manpages.sh -ip $(DESTDIR)$(MANPREFIX) $(manpages)
uninstall:
@@ -96,7 +101,7 @@ dev-check: check public
sh aux/workflow/assert-readme.sh -n $(NAME) -m $(MAILING_LIST)
sh aux/workflow/assert-manpages.sh -n $(NAME) -m $(MAILING_LIST) \
-l '$(TRANSLATIONS) en' $(manpages.en.in)
- sh aux/workflow/repocheck.sh -x1 -l1 -f5
+ sh aux/workflow/repocheck.sh -x1 -l1 -f7
dist:
sh aux/workflow/dist.sh -d $(DATE) -V $(VERSION) \