We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87b5a38 commit ac68bc5Copy full SHA for ac68bc5
octproz_project/octproz/pri/docs.pri
@@ -36,3 +36,13 @@ win32{
36
#/I "assume destination is a directory if copying more than one file"
37
QMAKE_POST_LINK += $$quote(xcopy $$shell_path($$PWD/$$DOCDIR) $$DOCEXPORTDIR /E /Y /I $$escape_expand(\\n\\t))
38
}
39
+
40
+#add docs folder to clean directive so that it will be deleted when running "make clean"
41
+unix{
42
+ cleandocs.commands = rm -rf $$shell_path($$DOCEXPORTDIR)
43
+}
44
+win32{
45
+ cleandocs.commands = if exist $$shell_path($$DOCEXPORTDIR) rmdir /S /Q $$shell_path($$DOCEXPORTDIR)
46
47
+clean.depends = cleandocs
48
+QMAKE_EXTRA_TARGETS += clean cleandocs
0 commit comments