Makefile
changeset 33 56571d34d754
parent 30 eed9f710ba3b
child 43 07afbd7a1567
equal deleted inserted replaced
32:89fb9c6611ca 33:56571d34d754
    12 	@if [ ! -d build ]; then mkdir build; fi
    12 	@if [ ! -d build ]; then mkdir build; fi
    13 
    13 
    14 build/Makefile: prepare
    14 build/Makefile: prepare
    15 	cd build && $(CMAKE) ../src
    15 	cd build && $(CMAKE) ../src
    16 
    16 
    17 .PHONY: distclean prepare beauty
    17 .PHONY: distclean debclean prepare beauty
    18 
    18 
    19 clean: build/Makefile
    19 clean: build/Makefile
    20 	@$(MAKE) -C build clean
    20 	@$(MAKE) -C build clean
    21 
    21 
       
    22 deb: debclean
       
    23 	dpkg-buildpackage -r
       
    24 
       
    25 debclean:
       
    26 	fakeroot debian/rules clean
       
    27 
    22 distclean:
    28 distclean:
    23 	$(RMDIR) build
    29 	$(RMDIR) build
       
    30 	$(RM) locale/de/LC_MESSAGES/mcbot.mo
    24 
    31 
    25 install: build/Makefile
    32 install: build/Makefile
    26 	$(MAKE) -C build install
    33 	$(MAKE) -C build install
    27 
    34 
    28 beauty:
    35 beauty: