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

                              
                                                                                           
 
                                                          
                                                                 
ifeq ($(MAKECMDGOALS), dist)
  dist-files += $(shell cat .dist-files)
endif

dist-files += configure config.h.in nix.spec perl/configure

clean-files += Makefile.config

GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr

$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
  $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))