File: Makefile

package info (click to toggle)
dark-gtk-themes 0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 80 kB
  • sloc: sh: 48; makefile: 22
file content (19 lines) | stat: -rw-r--r-- 311 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.SECONDEXPANSION:

SRC_DarkFire := DarkCold
SRC_DarkBlood := DarkMint
DST := DarkFire DarkBlood

.PHONY: all clean

all: $(DST:%=%/.stamp)

clean:
	rm -rf $(DST)

%/.stamp: .git/modules/$$(SRC_$$*)/index %.sh
	rm -rf "$*"
	cp -a "$(SRC_$*)" "$*"
	rm -f "$*"/.git "$*"/README*
	cd "$*" && ../"$*".sh
	touch "$@"