blob: b0a2525e67b288c8ea0eb82b7dff942bb276d367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
MAN1=grog.1
CLEANADD=grog
all: grog
grog: grog.pl grog.sh
if test -n "$(PERLPATH)" && test -f "$(PERLPATH)"; then \
rm -f $@; \
sed -e 's;/usr/bin/perl;$(PERLPATH);' $(srcdir)/grog.pl >$@; \
else \
rm -f $@; \
sed "$(SH_SCRIPT_SED_CMD)" $(srcdir)/grog.sh >$@; \
fi
chmod +x $@
install_data: grog
-test -d $(bindir) || mkdir $(bindir)
-rm -f $(bindir)/grog
$(INSTALL_PROGRAM) grog $(bindir)/grog
uninstall_sub:
-rm -f $(bindir)/grog
|