Commits

Pablo Hoffman committed e0e9fb5

debian package: fix dh_auto_build confusing with Makefile, added scrapy-ws.py to deployed scripts

  • Participants
  • Parent commits 39a5d3f

Comments (0)

Files changed (3)

 	mkdir -p $(BUILDBASE)
 	hg archive -t tgz -X .hgtags $(BUILDTAR)
 	tar zxf $(BUILDTAR) -C $(BUILDBASE)
+	rm -f $(BUILDDIR)/Makefile # to avoid confusing dh_auto_build
 	cp -r debian $(BUILDDIR)
 	cd $(BUILDDIR); debchange -m -D unstable --force-distribution -v $(FULL_VERSION)-$(DEBREV) "Automatic build"
 
 override_dh_auto_install:
 	dh_auto_install
 	mv $(CURDIR)/debian/scrapy/usr/bin/scrapy-ctl.py $(CURDIR)/debian/scrapy/usr/bin/scrapy-ctl
+	mv $(CURDIR)/debian/scrapy/usr/bin/scrapy-ws.py $(CURDIR)/debian/scrapy/usr/bin/scrapy-ws
     'packages': packages,
     'cmdclass': cmdclasses,
     'data_files': data_files,
-    'scripts': ['bin/scrapy-ctl.py'],
+    'scripts': ['bin/scrapy-ctl.py', 'bin/scrapy-ws.py'],
     'classifiers': [
         'Programming Language :: Python',
         'Programming Language :: Python :: 2.5',