diff options
author | Iku <iku@yokattana.com> | 2017-06-28 15:49:16 +0200 |
---|---|---|
committer | Iku <iku@yokattana.com> | 2017-06-28 15:49:16 +0200 |
commit | 502c36682719bb4fb8060f81e21e03a82354c5aa (patch) | |
tree | ca195335c5509c871b81dadacc8901c6c66d6a76 /src/Makefile | |
parent | f783ae4eca54023fcccc649908ce67b48db0401e (diff) |
Use MANDIR
It was declared but not used. The new value reflects the old hardcoded paths.
Diffstat (limited to 'src/Makefile')
-rwxr-xr-x | src/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 0335b73..450109f 100755 --- a/src/Makefile +++ b/src/Makefile @@ -9,7 +9,7 @@ HELPDIR = $(prefix)/share/$(name) LIBDIR = $(prefix)/share/doc/$(name) # This is where the man page goes. -MANDIR = $(prefix)/man/man1 +MANDIR = $(prefix)/share/man/man1 # Change these to your liking or use `make CC=gcc` etc #CC = cc @@ -121,14 +121,14 @@ install : install -d $(DESTDIR)$(HELPDIR) install doc $(DESTDIR)$(HELPDIR)/$(name)_help install plot_* $(DESTDIR)$(HELPDIR)/ - install -d $(DESTDIR)$(prefix)/share/man/man1 - install -m 644 sc-im.1 $(DESTDIR)$(prefix)/share/man/man1/$(name).1 + install -d $(DESTDIR)$(MANDIR)/ + install -m 644 sc-im.1 $(DESTDIR)$(MANDIR)/$(name).1 uninstall : -rm $(DESTDIR)$(prefix)/bin/$(name) -rm $(DESTDIR)$(HELPDIR)/$(name)_help -rm $(DESTDIR)$(HELPDIR)/plot* - -rm $(DESTDIR)$(prefix)/share/man/man1/$(name).1 + -rm $(DESTDIR)$(MANDIR)/$(name).1 $(name) : $(OBJS) $(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS) |