blob: 35b2b3caefb3b1a60c21bde75e595d9bb2f16054 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
MAN1=grog.n
CLEANADD=grog
NAMEPREFIX=$(g)
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 -e 's/@g@/$(g)/g' \
-e "$(SH_SCRIPT_SED_CMD)" $(srcdir)/grog.sh >$@; \
fi
chmod +x $@
install_data: grog
-test -d $(bindir) || $(mkinstalldirs) $(bindir)
-rm -f $(bindir)/grog
$(INSTALL_SCRIPT) grog $(bindir)/grog
uninstall_sub:
-rm -f $(bindir)/grog
|