I need my Debian rules file to simply copy files to it's target

前端 未结 2 1572
执念已碎
执念已碎 2021-01-30 05:30

I have a large project where we have the following files:

  • A few 3rd party pre-compiled binaries
  • Our own in-house binaries
  • collection of
2条回答
  •  故里飘歌
    2021-01-30 05:59

    You can install cdbs and change the rules file like this

    #!/usr/bin/make -f
    
    include /usr/share/cdbs/1/rules/debhelper.mk
    
    binary-install/package_name::
                       mkdir debian/$(cdbs_curpkg)/destination_path 
                       cp path_of_your_files  debian/$(cdbs_curpkg)/destination_path
    

提交回复
热议问题