chiark / gitweb /
disorder-ondemand.in: Guard against `$PID' getting lost halfway through.
[disorder-toys] / Makefile.am
1 ### -*-makefile-*-
2
3 perldir                  = $(libdir)/site_perl
4
5 EXTRA_DIST               =
6 CLEANFILES               =
7 bin_SCRIPTS              =
8 perl_DATA                =
9
10 perl_DATA               += DisOrder.pm
11
12 V_SUBST                  = $(V_SUBST_@AM_V@)
13 V_SUBST_                 = $(V_SUBST_@AM_DEFAULT_V@)
14 V_SUBST_0                = @echo "  SUBST    $@";
15
16 bin_SCRIPTS             += disorder-autoplay
17 EXTRA_DIST              += disorder-autoplay.in
18 CLEANFILES              += disorder-autoplay
19 disorder-autoplay: disorder-autoplay.in
20         $(V_SUBST)sed 's#@''PERL@#$(PERL)#g' \
21                 <$(srcdir)/disorder-autoplay.in >disorder-autoplay.new && \
22         chmod +x disorder-autoplay.new && \
23         mv disorder-autoplay.new disorder-autoplay
24
25 bin_SCRIPTS             += disorder-notify
26 EXTRA_DIST              += disorder-notify.in
27 CLEANFILES              += disorder-notify
28 disorder-notify: disorder-notify.in
29         $(V_SUBST)sed 's#@''PERL@#$(PERL)#g' \
30                 <$(srcdir)/disorder-notify.in >disorder-notify.new && \
31         chmod +x disorder-notify.new && \
32         mv disorder-notify.new disorder-notify
33
34 bin_SCRIPTS             += disorder-ondemand
35 EXTRA_DIST              += disorder-ondemand.in
36 CLEANFILES              += disorder-ondemand
37 disorder-ondemand: disorder-ondemand.in
38         $(V_SUBST)sed 's#@''PERL@#$(PERL)#g' \
39                 <$(srcdir)/disorder-ondemand.in >disorder-ondemand.new && \
40         chmod +x disorder-ondemand.new && \
41         mv disorder-ondemand.new disorder-ondemand
42
43 bin_SCRIPTS             += disorder-switch-config