File: Makefile

package info (click to toggle)
crazy-complete 0.3.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: python: 13,342; sh: 995; makefile: 68
file content (36 lines) | stat: -rw-r--r-- 615 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
CRAZY_COMPLETE ?= ../crazy-complete

all: bash fish zsh

bash:
	mkdir -p generated/bash
	
	$(CRAZY_COMPLETE) \
		--inherit-options=True \
		-o generated/bash/example \
		bash example.yaml

fish:
	mkdir -p generated/fish
	
	$(CRAZY_COMPLETE) \
		--inherit-options=True \
		-o generated/fish/example.fish \
		fish example.yaml 

zsh:
	mkdir -p generated/zsh
	
	$(CRAZY_COMPLETE) \
		--inherit-options=True \
		-o generated/zsh/_example \
		zsh example.yaml 
	
	$(CRAZY_COMPLETE) \
		--inherit-options=True \
		--zsh-compdef=False \
		-o generated/zsh/example.sourceable \
		zsh example.yaml

clean:
	rm -rf generated