File: package.mk

package info (click to toggle)
latex-make 2.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 576 kB
  • sloc: sh: 309; makefile: 237
file content (25 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

include ../Makefile.config

PACKAGE_NAME=$(notdir $(CURDIR))

package: $(PACKAGE_NAME).pkg

$(PACKAGE_NAME).pkg: Package_contents Install_resources Info.plist Description.plist
	$(PACKAGEMAKER) -build -v \
		-p "$@" \
		-f Package_contents \
		-r Install_resources \
		-i Info.plist \
		-d Description.plist
	
%.plist: plist/%.plist.in
	sed -e 's/@VERSION@/$(VERSION)/g' < $< > $@

clean::
	$(RM) -r $(PACKAGE_NAME).pkg

distclean:: clean

.PHONY: distclean clean