File: 02-build.patch

package info (click to toggle)
twitter-bootstrap 2.0.2%2Bdfsg-10
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,748 kB
  • ctags: 606
  • sloc: makefile: 101
file content (24 lines) | stat: -rw-r--r-- 555 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
Author: Daniel Baumann <daniel.baumann@progress-linux.org>
Description: Avoid removing files after build.

--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,8 @@
 #
 
 docs: bootstrap
-	rm docs/assets/bootstrap.zip
+	rm -f docs/assets/bootstrap.zip
 	zip -r docs/assets/bootstrap.zip bootstrap
-	rm -r bootstrap
 	lessc ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
 	lessc ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE}
 	node docs/build
@@ -25,6 +24,7 @@
 #
 
 bootstrap:
+	rm -rf bootstrap
 	mkdir -p bootstrap/img
 	mkdir -p bootstrap/css
 	mkdir -p bootstrap/js