summaryrefslogtreecommitdiffstats
path: root/test/Makefile
blob: 344a5591fcac73846c49c6e660d77c3af308eefe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SYREP=../src/syrep

ifdef VERBOSE
VERBOSE=-v
endif

%:
	@mkdir -p rep1 rep2
	$(SYREP) $(VERBOSE) --output-directory=extract -opatch --show-deleted --show-times --$@ rep1 rep2

all: update

merge: 
	@echo "Merging rep1 into rep2"
	$(SYREP) --merge rep1 rep2
	@echo "Merging rep2 into rep1"
	$(SYREP) --merge rep2 rep1

clean:

mrproper:
	rm -rf rep1/.syrep rep2/.syrep

.PHONY: all merge clean mrproper