Just a little cleanup
[tpg/acess2.git] / KernelLand / Modules / Makefile.tpl
index e365e99..6c6611e 100644 (file)
@@ -51,9 +51,11 @@ clean:
 
 install: $(BIN)
 ifneq ($(BUILDTYPE),static)
-       @$(xMKDIR) $(DISTROOT)/Modules/$(ARCH); true
-       $(xCP) $(BIN) $(DISTROOT)/Modules/$(ARCH)/$(NAME).kmd
+       @$(xMKDIR) $(DISTROOT)/$(ARCH)/Modules; true
+       @gzip -c $(BIN) > $(BIN).gz
+       $(xCP) $(BIN).gz $(DISTROOT)/$(ARCH)/Modules/$(NAME).kmd.gz
 else
+       @true
 endif
 
 

UCC git Repository :: git.ucc.asn.au