Changeset View
Changeset View
Standalone View
Standalone View
graphics/imv/files/patch-Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- Makefile.orig 2018-05-08 20:17:30 UTC | |||||
+++ Makefile | |||||
@@ -2,9 +2,9 @@ | |||||
PREFIX ?= /usr | |||||
BINPREFIX ?= $(PREFIX)/bin | |||||
-MANPREFIX ?= $(PREFIX)/share/man | |||||
+MANPREFIX ?= $(PREFIX)/man | |||||
DATAPREFIX ?= $(PREFIX)/share | |||||
-CONFIGPREFIX ?= /etc | |||||
+CONFIGPREFIX ?= $(PREFIX)/etc | |||||
CFLAGS ?= -W -Wall -pedantic -Wmissing-prototypes | |||||
CFLAGS += -std=c99 | |||||
@@ -56,11 +56,11 @@ doc/%: doc/%.txt | |||||
a2x --no-xmllint --doctype manpage --format manpage $< | |||||
install: $(TARGET) doc | |||||
- install -D -m 0755 $(TARGET) $(DESTDIR)$(BINPREFIX)/imv | |||||
- install -D -m 0644 doc/imv.1 $(DESTDIR)$(MANPREFIX)/man1/imv.1 | |||||
- install -D -m 0644 doc/imv.5 $(DESTDIR)$(MANPREFIX)/man5/imv.5 | |||||
- install -D -m 0644 files/imv.desktop $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop | |||||
- install -D -m 0644 files/imv_config $(DESTDIR)$(CONFIGPREFIX)/imv_config | |||||
+ install -m 0755 $(TARGET) $(DESTDIR)$(BINPREFIX)/imv | |||||
+ install -m 0644 doc/imv.1 $(DESTDIR)$(MANPREFIX)/man/man1/imv.1 | |||||
+ install -m 0644 doc/imv.5 $(DESTDIR)$(MANPREFIX)/man/man5/imv.5 | |||||
+ install -m 0644 files/imv.desktop $(DESTDIR)$(DATAPREFIX)/applications/imv.desktop | |||||
+ install -m 0644 files/imv_config $(DESTDIR)$(CONFIGPREFIX)/imv_config | |||||
uninstall: | |||||
$(RM) $(DESTDIR)$(BINPREFIX)/imv |