File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,26 @@ build:
2222clean :
2323 echo Deleting the binaries....
2424 rm ${BUILDDIR} /*
25- rm usrData/*
26- rm appData/*
27-
25+ rm ffmpeg-coder/usr/bin/ffmpeg-coder
26+
2827.PHONY : run
2928run :
30- echo " Running the built program...."
29+ echo Running the built program....
3130 ./${BUILDDIR} /${APPNAME} .o
3231
32+ .PHONY : dir
33+ dir :
34+ echo Creating directories.....
35+ mkdir bin
36+
37+ .PHONY : debpackage
38+ debpackage : build
39+ echo Creating the debian package of ffmpeg-coder
40+ mv bin/ffmpeg-coder.o bin/ffmpeg-coder
41+ cp bin/ffmpeg-coder ffmpeg-coder/usr/bin/
42+ dpkg-deb -v --build ffmpeg-coder bin
43+ echo The deb package has been created in the bin folder
44+
3345
3446# Windows Configs for make
3547.PHONY : winbuild
@@ -38,10 +50,5 @@ winbuild:
3850
3951.PHONY : winrun
4052winrun :
41- echo " Running the built program...."
53+ echo Running the built program....
4254 ./${BUILDDIR} /${APPNAME} .exe
43-
44- .PHONY : dir
45- dir :
46- echo Creating directories.....
47- mkdir bin usrData appData
You can’t perform that action at this time.
0 commit comments