aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/xkbrules.mak
blob: 3b5480e462881fb8fa0a438f8feb11b85f48a6ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DIRFILE=$(THISDIR:%=$(DESTDIR)\..\%.dir)
all: $(DESTDIR) $(DATA_FILES) $(DIRFILE)

$(DESTDIR)\default: default.in
	copy $< $@

$(DESTDIR)\%: %
	copy $< $@

ifneq ($(DIRFILE),)
.PHONY: extrastuff

$(DIRFILE): extrastuff $(DATA_FILES)
	-del -e $@
	cd $(DESTDIR) & ..\..\xkbcomp.exe -lfhlpR -o $(relpath $@) *
endif