mirror of
https://github.com/ceph/ceph
synced 2024-12-24 04:14:07 +00:00
28 lines
1.1 KiB
Makefile
Executable File
28 lines
1.1 KiB
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DH_VERBOSE=1
|
|
|
|
CC=gcc-4.1
|
|
CXX=g++-4.1
|
|
|
|
DEB_PYTHON_SYSTEM=pycentral
|
|
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
|
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
|
include /usr/share/cdbs/1/class/autotools.mk
|
|
|
|
common-install-arch::
|
|
mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/usr/share/doc/ceph
|
|
cp debian/README.ceph $(DEB_DH_INSTALL_SOURCEDIR)/usr/share/doc/ceph/
|
|
mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph
|
|
(cd src/kernel ; tar -hvcf - * ) | ( cd $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph ; tar -xf - )
|
|
touch $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/NEWS
|
|
touch $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/README
|
|
mkdir -p $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian
|
|
-cp debian/* $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian
|
|
mv $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian/rules.modules.in $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian/rules
|
|
chmod +x $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules/ceph/debian/rules
|
|
( cd $(DEB_DH_INSTALL_SOURCEDIR)/usr/src ; tar -cjf ceph.tar.bz2 modules )
|
|
# rm -rf $(DEB_DH_INSTALL_SOURCEDIR)/usr/src/modules
|
|
|