summaryrefslogtreecommitdiffstats
path: root/pkg/mingw/module.rules
blob: 57b10b2a17296b9ce06772076cd6498698522146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkg.create.zip:: pkg.create $(PKG.cli.zip) $(PKG.libhb.zip)

$(PKG.cli.zip): | $(dir $(PKG.cli.zip))
$(PKG.cli.zip): | $(STAGE.out.cli/)
	cd $(STAGE.out.cli/) && $(ZIP.exe) -r $(call fn.ABSOLUTE,$(PKG.cli.zip)) .

$(PKG.libhb.zip): | $(dir $(PKG.libhb.zip))
$(PKG.libhb.zip): | $(STAGE.out.libhb/)
	cd $(STAGE.out.libhb/) && $(ZIP.exe) -r $(call fn.ABSOLUTE,$(PKG.libhb.zip)) .

$(STAGE.out.cli/):
	-$(MKDIR.exe) -p $@
	$(CP.exe) HandBrakeCLI.exe $(STAGE.out.cli/)
	$(call STAGE.doc,$(STAGE.out.cli/))

$(STAGE.out.libhb/):
	-$(MKDIR.exe) -p $@
	$(CP.exe) libhb/hb.dll $(STAGE.out.libhb/)
	$(call STAGE.doc,$(STAGE.out.libhb/))