diff options
Diffstat (limited to 'plugins/repo')
-rw-r--r-- | plugins/repo/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
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' $@ |