diff options
Diffstat (limited to 'source/n/netwatch/netwatch.makefile.diff')
-rw-r--r-- | source/n/netwatch/netwatch.makefile.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source/n/netwatch/netwatch.makefile.diff b/source/n/netwatch/netwatch.makefile.diff new file mode 100644 index 00000000..8543faa2 --- /dev/null +++ b/source/n/netwatch/netwatch.makefile.diff @@ -0,0 +1,29 @@ +--- Makefile,orig 2009-03-04 04:27:22.000000000 -0300 ++++ Makefile 2009-03-04 04:34:01.000000000 -0300 +@@ -13,6 +13,7 @@ + DEFS= curs.h netwatch.h + OBJECTS= curs.o dispdata.o services.o netwatch.o processinetrc.o gh.o warning.o semaphore.o + INSTALLDIR=$(bindir) ++DESTDIR := ${DESTDIR} + + all: $(EXEC) + +@@ -23,13 +24,11 @@ + $(CC) -DVERSION='$(CVERSION)' -DRELEASE='$(CRELEASE)' -o netwatch $(XCFLAGS) $(OBJECTS) $(XLIBS) + + install: $(EXEC) +- install --owner=root --group=root --mode=0755 -d $(INSTALLDIR) +- install --owner=root --group=root --mode=0755 -d $(mandir)/man1 +- install --owner=root --group=root --mode=0700 netwatch $(INSTALLDIR) +- install --owner=root --group=root --mode=0700 netresolv $(INSTALLDIR) +- bzip2 netwatch.1 +- install -D netwatch.1.bz2 $(mandir)/man1 +- bunzip2 netwatch.1.bz2 ++ install --owner=root --group=root --mode=0755 -d $(DESTDIR)$(INSTALLDIR) ++ install --owner=root --group=root --mode=0755 -d $(DESTDIR)$(mandir) ++ install --owner=root --group=root --mode=0755 netwatch $(DESTDIR)$(INSTALLDIR) ++ install --owner=root --group=root --mode=0755 netresolv $(DESTDIR)$(INSTALLDIR) ++ install --owner=root --group=root --mode=644 netwatch.1 $(DESTDIR)$(mandir) + + tar: + tar -C .. -czf ../netwatch-$(VERSION)-$(RELEASE).tgz netwatch-$(VERSION) |