Skip to content

Commit e876ddd

Browse files
committed
a better way to handle the make clean task
Previously, make clean would fail if README.txt did not exist. This is the recommended way to get around this and it just continues on silently if there's nothing to be done
1 parent a5cef1b commit e876ddd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
clean:
2-
rm README.txt
3-
rm -rf ./dist ./build
2+
$(RM) README.txt
3+
$(RM) -r ./dist ./build
44

55
generate_pypi_README:
66
${VIRTUAL_ENV}/bin/pytextile README.textile | sed -e 's/^\t//' > README.txt

0 commit comments

Comments
 (0)