Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.4.3
-
None
-
f604c94f18104a88f5ed6274b2a62eda69efe937
Description
Consider the following .pro file:
TEMPLATE = lib
CONFIG += staticlib
DESTDIR = foo
TARGET= bar
The actual result of running qmake on this .pro file results in the following Makefile contents:
...
DESTDIR = foo/
TARGET = libbar.a
...
distclean: clean
-$(DEL_FILE) $(TARGET)
-$(DEL_FILE) Makefile
...
However, the expected distclean rule is:
distclean: clean
-$(DEL_FILE) foo/$(TARGET)
-$(DEL_FILE) Makefile
Attachments
Issue Links
- resulted in
-
QTBUG-40264 qmake creates invalid path for distclean target in Makefile
- Closed