diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-13 23:42:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-13 23:42:07 +0200 |
commit | 57174300932b101e7cebe15efc60179fc823ce16 (patch) | |
tree | b41ffd1589f8a2e771e366888fdd889ab31d8b92 /Makefile | |
parent | Add liberror_start and liberror_end (diff) | |
download | liberror-57174300932b101e7cebe15efc60179fc823ce16.tar.gz liberror-57174300932b101e7cebe15efc60179fc823ce16.tar.bz2 liberror-57174300932b101e7cebe15efc60179fc823ce16.tar.xz |
Add liberror.h.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -31,6 +31,9 @@ OBJ =\ set_error_errno.o\ start.o +MAN0 =\ + liberror.h.0 + MAN3 =\ liberror_copy_error.3\ liberror_end.3\ @@ -72,6 +75,7 @@ install: liberror.a liberror.$(LIBEXT) mkdir -p -- "$(DESTDIR)$(PREFIX)/lib" mkdir -p -- "$(DESTDIR)$(PREFIX)/include" mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man0" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man3" mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man7" cp -- liberror.a "$(DESTDIR)$(PREFIX)/lib" @@ -80,6 +84,7 @@ install: liberror.a liberror.$(LIBEXT) ln -sf -- liberror.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/liberror.$(LIBEXT)" cp -- liberror.h "$(DESTDIR)$(PREFIX)/include" cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/liberror" + cp -- $(MAN0) "$(DESTDIR)$(MANPREFIX)/man0" cp -- $(MAN3) "$(DESTDIR)$(MANPREFIX)/man3" cp -- $(MAN7) "$(DESTDIR)$(MANPREFIX)/man7" @@ -87,6 +92,7 @@ uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/lib/liberror."* -rm -f -- "$(DESTDIR)$(PREFIX)/include/liberror.h" -rm -rf -- "$(DESTDIR)$(PREFIX)/share/licenses/liberror" + -cd -- "$(DESTDIR)$(MANPREFIX)/man0" && rm -f -- $(MAN0) -cd -- "$(DESTDIR)$(MANPREFIX)/man3" && rm -f -- $(MAN3) -cd -- "$(DESTDIR)$(MANPREFIX)/man7" && rm -f -- $(MAN7) |