Editing Packaging a Qt application
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 77: | Line 77: | ||
#!/usr/bin/make -f | #!/usr/bin/make -f | ||
APPNAME := my_app_name | APPNAME := my_app_name | ||
- | |||
- | |||
- | + | Makefile: | |
- | + | qmake PREFIX=/usr ../$(APPNAME).pro | |
build: build-stamp | build: build-stamp | ||
- | build-stamp: | + | build-stamp: Makefile |
dh_testdir | dh_testdir | ||
# Add here commands to compile the package. | # Add here commands to compile the package. | ||
- | + | $(MAKE) | |
touch $@ | touch $@ | ||
- | clean: | + | clean: Makefile |
dh_testdir | dh_testdir | ||
dh_testroot | dh_testroot | ||
rm -f build-stamp | rm -f build-stamp | ||
# Add here commands to clean up after the build process. | # Add here commands to clean up after the build process. | ||
- | + | $(MAKE) clean | |
dh_clean | dh_clean | ||
+ | |||
install: build | install: build | ||
dh_testdir | dh_testdir |
Learn more about Contributing to the wiki.