Hallo, Ik wou graag een package maken van wat bash-scripts. Om daar wat mee te oefenen heb ik een helloworld.deb gemaakt.
Dit werkt wel goed, maar ik kan alleen bestanden in bepaalde directories zetten (zoals /usr/bin en /usr/sbin) en niet in andere directories (zoals /etc of /usr/share/applications). Ik doe iets verkeerd, waarschijnlijk in het Makefile. Kan iemand me verder op weg helpen? Groet, Paul. --------- # maak directories en een simpele testsource: mkdir helloworld; cd helloworld mkdir helloworld-1.0; cd helloworld-1.0 echo 'echo Hello World!' > helloworld; chmod +x helloworld # maak een simpele Makefile: echo 'clean:' > Makefile echo 'install:' >> Makefile echo -en "\t" >> Makefile echo 'cp helloworld $(CURDIR)/debian/helloworld/usr/bin/' >> Makefile # Bepaal je correcte fullname en email voor PGP: export DEBFULLNAME='Paul van der Vlis' export DEBEMAIL='[email protected]' # debianize het package dh_make -s -n # packages bouwen en resultaat bekijken. dpkg-buildpackage -rfakeroot ls -l .. --------- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
