Przeglądaj źródła

Make .deb package part of std release target

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson 6 lat temu
rodzic
commit
3d2248b756
1 zmienionych plików z 6 dodań i 3 usunięć
  1. 6
    3
      Makefile.am

+ 6
- 3
Makefile.am Wyświetl plik

@@ -15,7 +15,7 @@ package:
15 15
 #
16 16
 # Target to run when building a release
17 17
 #
18
-release: distcheck
18
+release: distcheck package
19 19
 	@for file in $(DIST_ARCHIVES); do	\
20 20
 		md5sum $$file > ../$$file.md5;	\
21 21
 	done
@@ -24,6 +24,9 @@ release: distcheck
24 24
 	@echo "Resulting release files:"
25 25
 	@echo "================================================================="
26 26
 	@for file in $(DIST_ARCHIVES); do					\
27
-		printf "$$file    \tDistribution tarball\n";			\
28
-		printf "$$file.md5\t"; cat ../$$file.md5 | cut -f1 -d' ';	\
27
+		printf "%-32s Distribution tarball\n" $$file;			\
28
+		printf "%-32s " $$file.md5; cat ../$$file.md5 | cut -f1 -d' ';	\
29
+	done
30
+	@for file in `cd ..; ls $(PACKAGE)_$(VERSION)*`; do			\
31
+		printf "%-32s Debian/Ubuntu file\n" $$file;			\
29 32
 	done