about summary refs log blame commit diff
path: root/dist.mk
blob: 0ce4377ae4af6c74f4f11ca02c3b485b30b3e396 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                  
                                              
 
             
 
                          
 

                                                                              
 
                                   
 

                                                                
     
ifdef PACKAGE_NAME

dist-name = $(PACKAGE_NAME)-$(PACKAGE_VERSION)

dist-files :=

dist: $(dist-name).tar.bz2

$(dist-name).tar.bz2: $(dist-files)
	$(suppress) tar cvfj $@ $(dist-files) --transform 's,^,$(dist-name)/,'

clean-files += $(dist-name).tar.bz2

print-top-help += echo "  dist: Generate a source distribution";

endif