atuned to deb building
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 1 Apr 2022 00:55:04 +0000 (11:55 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Fri, 1 Apr 2022 00:55:04 +0000 (11:55 +1100)
Makefile

index 8636bf667f8d5fa1e2b2687974e62f55d45ee5e5..1daf2e75500befc3139cea4c00cb8fdc1cdc7a67 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ $(REAPER):
 
 # Specific rule: the reaper program originates from $(REAPER)
 reaper: $(REAPER)
-       cp -p $< $@
+       mv $< $@
 
 # Generic rule: any dependee directory needs to be created
 %/:
@@ -46,9 +46,10 @@ $(addprefix $(VARLIBDIR)/,$(VARLIBFILES)): $(VARLIBDIR)/%: % | $(VARLIBDIR)/
 
 # Make target: to clean up this workspace
 clean:
-       rm -f reaper overlay-boot.8
+       rm -f reaper *.8
        make -C $$(dirname $(REAPER)) clean
-       dh_clean -d
+
+.INTERMEDIATE: reaper $(MAN8FILES)
 
 # Make target: enumerates that which should be installed
 #INSTALLTARGETS = $(addprefix $(SBINDIR)/,$(SBINFILES))