From 452a7e70ff8d837a1c2ca26642d6a9b18db41a29 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 31 Jul 2009 23:16:59 -0400 Subject: command selection rewritten --- plugins/repo/Makefile.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/repo') diff --git a/plugins/repo/Makefile.in b/plugins/repo/Makefile.in index 12fb469..1e07226 100644 --- a/plugins/repo/Makefile.in +++ b/plugins/repo/Makefile.in @@ -1,6 +1,6 @@ #!/usr/bin/make -f name = repo -# version 0.7.1 +ver = 0.7beta # Copyright (C) 2009 Luke Shumaker # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -52,7 +52,7 @@ $(name) : $(shOutFiles) # (un)install ###################################################### install : all - $(RVS) install $(name) $(myoutdir) + $(RVS) install $(name)-$(ver) $(myoutdir) uninstall : $(RVS) uninstall $(name) @@ -71,9 +71,11 @@ b := @ # build shell scripts $(myoutdir)/% : $(mysrcdir)/%.sh $(MKDIR) $(dir $@) - $(SED) 's/$bSHELL@/$(subst /,\/,$(SHELL))/g' <$< > $@ + $(INSTALL_PROGRAM) $< $@ + $(SED) -i 's/$bSHELL@/$(subst /,\/,$(SHELL))/g' $@ # workaround... idk why it doesn't match `lib/' $(myoutdir)/lib/% : $(mysrcdir)/lib/%.sh $(MKDIR) $(dir $@) - $(SED) 's/$bSHELL@/$(subst /,\/,$(SHELL))/g' <$< > $@ + $(INSTALL_PROGRAM) $< $@ + $(SED) -i 's/$bSHELL@/$(subst /,\/,$(SHELL))/g' $@ -- cgit v1.2.3-2-g168b