summaryrefslogblamecommitdiffstats
path: root/modules/nasb/Makefile
blob: 9b267715910db4b3685914760b83207cd6f7cda2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                              
                                                                  

                                            

                                                        




                                             

                                                                                                   











                                                                                                                                                        
 
all: NASB.zip

NASB.zip: modules/texts/ztext/nasb/ot.bzv
	zip -r NASB.zip mods.d modules

modules/texts/ztext/nasb/ot.bzv: nasb.osis.xml
	mkdir -p modules/texts/ztext/nasb
	osis2mod modules/texts/ztext/nasb/ nasb.osis.xml -z z -b 4
	chmod a+r modules/texts/ztext/nasb/*

nasb.osis.xml: nasb.txt lockosis 
	./lockosis nasb.txt nasb_ref.txt > nasb.osis.xml

nasb.txt: nasb-lockman-src.zip
	unzip nasb-lockman-src.zip
	mv "nasb cross refs.txt" nasb_ref.txt

nasb-lockman-src.zip:
	scp scribe@host.crosswire.org:~swordmod/pristine-private/nasb/nasb.zip nasb-lockman-src.zip

deploy: NASB.zip
	scp NASB.zip scribe@host.crosswire.org:/home/ftp/pub/sword/lockmanpackages/

clean:
	rm -rf nasb.osis.xml *.o lockosis modules NASB.zip nasb_ref.txt "nasb cross refs.txt" nasbinfo.txt codenc.txt FRONT95.txt "nasb(c).txt" nasb.txt

distclean: clean
	rm -rf nasb-lockman-src.zip

.cpp:
	g++ -O0 -g -DHAVESWORD -Wall -Werror `pkg-config --cflags sword` $< -o $@ `pkg-config --libs sword`