-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost-fpga.mk
184 lines (157 loc) · 7.97 KB
/
post-fpga.mk
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
fpga.adder-dc.JPG.imgadder-dc.JPG: img/fpga/adder-dc.JPG
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:24:46.9209599 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Adder DC" ' \
' -F "binary=@img/fpga/adder-dc.JPG" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/adder-dc.JPG | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.adder-dc.JPG.imgadder-dc.JPG.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/adder-dc.JPG | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.full-adder-dc.jpg.imgfull-adder-dc.jpg: img/fpga/full-adder-dc.jpg
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:24:48.5283832 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Full Adder DC" ' \
' -F "binary=@img/fpga/full-adder-dc.jpg" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/full-adder-dc.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.full-adder-dc.jpg.imgfull-adder-dc.jpg.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/full-adder-dc.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.half-adder-dc.jpg.imghalf-adder-dc.jpg: img/fpga/half-adder-dc.jpg
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:24:49.4915776 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Half Adder " ' \
' -F "binary=@img/fpga/half-adder-dc.jpg" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/half-adder-dc.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.half-adder-dc.jpg.imghalf-adder-dc.jpg.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/half-adder-dc.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.io-ports.JPG.imgio-ports.JPG: img/fpga/io-ports.JPG
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:24:53.0709446 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=I/O Ports" ' \
' -F "binary=@img/fpga/io-ports.JPG" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/io-ports.JPG | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.io-ports.JPG.imgio-ports.JPG.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/io-ports.JPG | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.nexys-3-1.jpg.imgnexys-3-1.jpg: img/fpga/nexys-3-1.jpg
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:24:58.5745017 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Nexys 3 (1)" ' \
' -F "binary=@img/fpga/nexys-3-1.jpg" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/nexys-3-1.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.nexys-3-1.jpg.imgnexys-3-1.jpg.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/nexys-3-1.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.nexys-3-2.jpg.imgnexys-3-2.jpg: img/fpga/nexys-3-2.jpg
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:25:00.0904661 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Nexys 3 (2)" ' \
' -F "binary=@img/fpga/nexys-3-2.jpg" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/nexys-3-2.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.nexys-3-2.jpg.imgnexys-3-2.jpg.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/nexys-3-2.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.nexys-3-3.jpg.imgnexys-3-3.jpg: img/fpga/nexys-3-3.jpg
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:25:01.0945786 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Nexys 3 (3)" ' \
' -F "binary=@img/fpga/nexys-3-3.jpg" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/nexys-3-3.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.nexys-3-3.jpg.imgnexys-3-3.jpg.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/nexys-3-3.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.show.jpg.imgshow.jpg: img/fpga/show.jpg
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=binary" ' \
' -F "create-time=2017-03-13 14:25:02.0485404 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=FPGA Show" ' \
' -F "binary=@img/fpga/show.jpg" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "whose=Qinka" ' \
' -F "tag=FPGA" ' \
' -F "tag=Get Start" ' \
$(SITE_URL)/img/fpga/show.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
fpga.show.jpg.imgshow.jpg.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=binary" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/img/fpga/show.jpg | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
get.start.fpga.post: post/fpga/get-started.md post/fpga/get-started.sum.md
@pandoc -o .ignore/get-started.html post/fpga/get-started.md
@pandoc -o .ignore/get-started.sum.html post/fpga/get-started.sum.md
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X PUT \
' -F "type=post" ' \
' -F "create-time=2017-03-06 15:09:27.0651784 UTC" ' \
' -F "update-time=$(IH_NOW)" ' \
' -F "title=Getting Started with Nexys3" ' \
' -F "[email protected]/get-started.html" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
' -F "[email protected]/get-started.sum.html" ' \
' -F "whose=Qinka" ' \
' -F "tag=blog" ' \
' -F "tag=code" ' \
' -F "tag=highlight" ' \
$(SITE_URL)/b/fpga/get-start | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)
get.start.fpga.post.del:
@$(ECHO) $(CURL_PATH) $(CURL_DETAIL) -X DELETE \
' -F "type=post" ' \
' -F "sha-file-name=/`$(MD5) $(PRIVATE_KEY).pub`" ' \
$(SITE_URL)/b/fpga/get-start | $(IH_PATH) -m -f '$(IH_DELAY)' -p '$(PRIVATE_KEY)' -d '$(SITE_DELTA)' -v | $(SHELL)