Commits

Norman Gray committed 56ed233

Fix formatting; avoid generating README

  • Participants
  • Parent commits cfd0de2
  • Branches DEV-20111018-data-entry-type

Comments (0)

Files changed (2)

 	echo $(DIST) >VERSION
 
 # The README is just a plain-text version of urlbst.html
-README: urlbst.html prepare-roff.sed
-	xsltproc html2roff.xslt urlbst.html \
-	  | sed -f prepare-roff.sed \
-	  | nroff -Tutf8 -ms \
-	  | sed '/XXXEND/,$$d' >README
+# This isn't useful -- use a checked-in, simple, README instead
+#README: urlbst.html prepare-roff.sed
+#	xsltproc html2roff.xslt urlbst.html \
+#	  | sed -f prepare-roff.sed \
+#	  | nroff -Tutf8 -ms \
+#	  | sed '/XXXEND/,$$d' >README
 
 # Write a roff file -- there comes a point where a string of -e '' 
 # commands is more confusing than is safe
 # (plus trying to get '$a\' into that is mind-bending).
-prepare-roff.sed:
-	rm -f $@
-	{ echo '$$a\'; echo '\'; echo 'XXXEND'; echo '/^ *$$/d'; echo 's/^ *//'; echo 's/^\.$$/\&./'; echo 's/^\. /\&. /'; } >$@
+#prepare-roff.sed:
+#	rm -f $@
+#	{ echo '$$a\'; echo '\'; echo 'XXXEND'; echo '/^ *$$/d'; echo 's/^ *//'; echo 's/^\.$$/\&./'; echo 's/^\. /\&. /'; } >$@
 
 # Very simple install target -- hardly worth bothering, really....
 install: urlbst
         printf("      eprint refs    %s\n", ($addeprints ? "included" : "not included"));
         printf("      DOIs           %s\n", ($adddoiresolver ? "included" : "not included"));
         printf("      PUBMED refs    %s\n", ($addpubmedresolver ? "included" : "not included"));
-        printf('      @data type     %s\n', ($adddataentrytype ? "included" : "not included"));
+        printf('      @data type     %s' . "\n", ($adddataentrytype ? "included" : "not included"));
         printf("      hyperlinks     %s\n", ($makehref==0 ? "none" : $makehref==1 ? "hypertex" : "hyperref"));
         printf("      inline links   %s\n", ($inlinelinks ? "included" : "not included"));
         exit(0);
 print OUT "%%% Added eprint support.\n"   if ($addeprints);
 print OUT "%%% Added DOI support.\n"      if ($adddoiresolver);
 print OUT "%%% Added PUBMED support.\n"   if ($addpubmedresolver);
-print OUT '%%% Added @data support.\n'    if ($adddataentrytype);
+print OUT '%%% Added @data support.' . "\n"  if ($adddataentrytype);
 print OUT "%%% Added HyperTeX support.\n" if ($makehref == 1);
 print OUT "%%% Added hyperref support.\n" if ($makehref == 2);
 print OUT "%%% Original headers follow...\n\n";