blob: f9c316e2c8f47b7e013b9ccb0a20737e10cf4110 (
plain)
1 diff -Nru heme-0.4.2-orig/Makefile heme-0.4.2/Makefile
2 --- heme-0.4.2-orig/Makefile 2006-11-23 00:24:17.000000000 +0200
3 +++ heme-0.4.2/Makefile 2007-01-02 17:27:49.000000000 +0200
4 @@ -1,5 +1,5 @@
5 -INSTALL_PREFIX = /usr/local
6 -CFLAGS = -Wall -DHAVE_MMAP # remove -DHAVE_MMAP if you don't have mmap
7 +INSTALL_PREFIX = /usr
8 +CFLAGS += -Wall -DHAVE_MMAP
9 LDFLAGS = -lcurses
10 OBJECTS = heme.o xmalloc.o error.o pconfig.o pgetopt.o
11 TARGET = heme
12 @@ -11,8 +11,8 @@
13 $(CC) $(CFLAGS) -c $< -o $@
14
15 install: $(TARGET)
16 - install -s -m 0755 $(TARGET) $(INSTALL_PREFIX)/bin
17 - install -m 0644 heme.1 $(INSTALL_PREFIX)/man/man1
18 + install -D -m 0755 $(TARGET) $(DESTDIR)$(INSTALL_PREFIX)/bin/$(TARGET)
19 + install -D -m 0644 heme.1 $(DESTDIR)$(INSTALL_PREFIX)/man/man1/heme.1
20
21 uninstall:
22 rm -f $(INSTALL_PREFIX)/bin/$(TARGET)
|