3c79d36700
Since is a tail(1) with state - it allows the user to view only the lines appended to a file since the last time since was used.
23 lines
704 B
Text
23 lines
704 B
Text
$NetBSD: patch-Makefile,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $
|
|
|
|
pkgsrc friendly Makefile
|
|
|
|
--- Makefile.orig 2010-07-10 12:57:32.000000000 +0000
|
|
+++ Makefile
|
|
@@ -15,11 +15,13 @@ RM = rm -f
|
|
INSTALL = install -D
|
|
|
|
$(NAME): $(NAME).c
|
|
- $(CC) $(CFLAGS) -o $@ $^
|
|
+ $(CC) $(CFLAGS) -o $@ $<
|
|
|
|
install: $(NAME)
|
|
- $(INSTALL) $(NAME) $(prefix)/bin/$(NAME)
|
|
- $(INSTALL) $(NAME).1 $(prefix)/share/man/man1/$(NAME).1
|
|
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(PREFIX)/bin
|
|
+ $(BSD_INSTALL_PROGRAM) $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME)
|
|
+ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
|
|
+ $(BSD_INSTALL_MAN) $(NAME).1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/$(NAME).1
|
|
|
|
clean:
|
|
$(RM) $(NAME) core *.o
|