General cleanup and bugfixes
[tpg/acess2.git] / KernelLand / Modules / Makefile.tpl
index e365e99..040ea7c 100644 (file)
@@ -51,8 +51,9 @@ 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
 endif
 

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