wendy

watch files or directory and run commands on any event
git clone git://z3bra.org/wendy
Log | Files | Refs | README | LICENSE

Makefile (359B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include config.mk

.PHONY: clean install uninstall

wendy: wendy.o

install: wendy wendy.1
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	mkdir -p $(DESTDIR)$(MANDIR)/man1
	cp wendy $(DESTDIR)$(PREFIX)/bin/wendy
	cp wendy.1 $(DESTDIR)$(MANDIR)/man1/wendy.1

uninstall:
	rm -f $(DESTDIR)$(PREFIX)/bin/wendy
	rm -f $(DESTDIR)$(MANDIR)/man1/wendy.1

clean:
	rm -f wendy *.o