आप अपनी परियोजनाओं से एक डेबियन पैकेज बना सकते हैं। जैसा कि मैंने समझा है कि आप विचलन के लिए एक पैकेज बनाना चाहते हैं, इसलिए मैं आपके प्रोजेक्ट से डेबियन पैकेज बनाने का सुझाव दूंगा। Here डेबियन पैकेजिंग सिस्टम के लिए एक परिचय है। लेख में वे किसी बिंदु पर वर्णन करते हैं कि निर्माण प्रक्रिया के मूल में "नियम" फ़ाइल कैसे बनाएं।
#!/usr/bin/make -f
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
#export DH_COMPAT=3
DESTDIR=$(CURDIR)/debian/project
TR_DIR=$(CURDIR)/debian/project/usr/share/qt4/translations
configure:
qmake project.pro
clean:
dh_testdir
dh_testroot
dh_clean
build: configure
dh_testdir
lrelease translations/project_en.ts
$(MAKE)
install: build
mkdir -p $(TR_DIR)
cp translations/project_en.qm $(TR_DIR)
$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/project install
dh_installdirs
binary-arch: build install
dh_testdir
dh_testroot
dh_installmenu
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
यह सामान्य रूप से छोटी परियोजनाओं के लिए पर्याप्त है: यहाँ यह का एक नमूना है कि मैं आम तौर पर मेरी क्यूटी/केडीई परियोजनाओं के लिए इस्तेमाल करते हैं।